4,6 → 4,18 |
# using the "include" command. You probably need |
# to change "root" lines. |
|
# /etc/nginx/nginx.conf |
# ..... |
# http { |
# ..... |
# server { |
# ..... |
# include /var/www/html/oidplus/nginx.conf; |
# } |
# ..... |
# } |
# ..... |
|
# When you are done, please verify that the file |
# http://...../includes/config_values.txt can't be |
# read using your web browser. |
22,6 → 34,12 |
proxy_buffers 4 256k; |
proxy_busy_buffers_size 256k; |
|
# HTTP 404 redirect |
|
location ~ { |
try_files $uri $uri/ /index.php?h404=$uri&$args; |
} |
|
# Folder restrictions |
|
location /userdata/ { |