Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- limit_conn ipcon 5;
- limit_req zone=reqcon burst=5 nodelay;
- client_body_timeout 7s;
- client_header_timeout 7s;
- listen 80;
- listen 443;
- server_name libbo.net;
- location / {
- root html/liddo;
- index index.php index.html;
- limit_conn addr 10;
- }
- location ~ .php$ {
- root html/liddo;
- fastcgi_pass 127.0.0.1:9999;
- fastcgi_index index.php;
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- include fastcgi_params;
- include fastcgi.conf;
- }
- rewrite ^/registration(|/)$ /register.php;
- rewrite ^/(|/)$ /index.php;
- rewrite ^/dashboard(|/)$ /dashboard.php;
- rewrite ^/captcha(|/)$ /inc/plugins/captcha.php;
- error_page 500 502 503 504 404 400 /;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement