Changing Nginx root to two different top level directories with the same permissions: one gives 403 while the other doesn’t

From reading other StackExchange posts, I figured that the reason I couldn’t use a directory in my home folder as the nginx root had something to do with permissions, possibly from parent directories. So, I decided to check the top level directories(ie, the ones under /) Both /usr/ and /home/ contain identical index.html’s and indentical…

Details

Modify variable into log_format

I have simple config: http { log_format main ‘”rmethod”:”$request_method” “uri”:”$uri” “args”:”$args”; access_log /tmp/nginx_access.log main; … } Problem is that args contains sensitive information. Can I hide some query parameters? For example: $args value is cmd=list&username=qwe&ext=625&sensitive_info=sfsfsd&cred=Black0ps5762 After using regex ^(.*)((?:sensitive_info=.*)&)(.*)$ will form a new variable by capture groups: args = $1$3. Is it possible?

Details

quarter circles ggplot-s with nonexisting points

I try to use ggplot to plot quarted circles to visualize contour plots but I get misconfigured plot using geom_area (following this tutorial on stacked area with ggplot2) The code I tried reads library(ggplot2) library(dplyr) N <- 1E2 r <- rev(c(1,2,4,7)) maxXY = max(r)+.25*max(r) grupp <- c(“0″,”0.25″,”0.5″,”0.75”) datalist = list() plot(0,0,xlim=c(0,maxXY),ylim=c(0,maxXY)) for (i in 1:length(r))…

Details