Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. server {
  2. limit_conn ipcon 5;
  3. limit_req zone=reqcon burst=5 nodelay;
  4.  
  5. client_body_timeout 7s;
  6. client_header_timeout 7s;
  7.  
  8. listen 80;
  9. listen 443;
  10. server_name libbo.net;
  11.  
  12. location / {
  13. root html/liddo;
  14. index index.php index.html;
  15. limit_conn addr 10;
  16. }
  17.  
  18. location ~ .php$ {
  19. root html/liddo;
  20. fastcgi_pass 127.0.0.1:9999;
  21. fastcgi_index index.php;
  22. fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  23. include fastcgi_params;
  24. include fastcgi.conf;
  25. }
  26.  
  27. rewrite ^/registration(|/)$ /register.php;
  28. rewrite ^/(|/)$ /index.php;
  29. rewrite ^/dashboard(|/)$ /dashboard.php;
  30. rewrite ^/captcha(|/)$ /inc/plugins/captcha.php;
  31.  
  32. error_page 500 502 503 504 404 400 /;
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement