Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # main server block
- server {
- listen 443 ssl http2 default_server;
- listen [::]:443 ssl http2 default_server;
- #root /config/www;
- #index index.html index.htm index.php;
- server_name _;
- # enable subfolder method reverse proxy confs
- include /config/nginx/proxy-confs/*.subfolder.conf;
- # all ssl related config moved to ssl.conf
- include /config/nginx/ssl.conf;
- # enable for ldap auth
- #include /config/nginx/ldap.conf;
- client_max_body_size 0;
- #location / {
- # try_files $uri $uri/ /index.html /index.php?$args =404;
- #}
- location ~ \.php$ {
- fastcgi_split_path_info ^(.+\.php)(/.+)$;
- fastcgi_pass 127.0.0.1:9000;
- fastcgi_index index.php;
- include /etc/nginx/fastcgi_params;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement