cuspsr.conf 540 B

1234567891011121314151617181920212223
  1. server {
  2. listen 80;
  3. server_name localhost;
  4. root /usr/share/nginx/html;
  5. index index.html index.htm index.php;
  6. location / {
  7. try_files $uri $uri/ /index.php?$query_string;
  8. }
  9. error_page 500 502 503 504 /50x.html;
  10. location = /50x.html {
  11. root /usr/share/nginx/html;
  12. }
  13. location ~ \.php$ {
  14. fastcgi_pass cuspsr:9000;
  15. fastcgi_index index.php;
  16. fastcgi_param SCRIPT_FILENAME /www/$fastcgi_script_name;
  17. include fastcgi_params;
  18. }
  19. }