Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. # main server block
  2. server {
  3. listen 443 ssl http2 default_server;
  4. listen [::]:443 ssl http2 default_server;
  5.  
  6. #root /config/www;
  7. #index index.html index.htm index.php;
  8.  
  9. server_name _;
  10.  
  11. # enable subfolder method reverse proxy confs
  12. include /config/nginx/proxy-confs/*.subfolder.conf;
  13.  
  14. # all ssl related config moved to ssl.conf
  15. include /config/nginx/ssl.conf;
  16.  
  17. # enable for ldap auth
  18. #include /config/nginx/ldap.conf;
  19.  
  20. client_max_body_size 0;
  21.  
  22. #location / {
  23. # try_files $uri $uri/ /index.html /index.php?$args =404;
  24. #}
  25.  
  26. location ~ \.php$ {
  27. fastcgi_split_path_info ^(.+\.php)(/.+)$;
  28. fastcgi_pass 127.0.0.1:9000;
  29. fastcgi_index index.php;
  30. include /etc/nginx/fastcgi_params;
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement