Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 80;
- server_name sign.io *.sign.io;
- root /home/sites/sign.io/home/html;
- index index.php index.html index.htm;
- access_log /home/sites/sign.io/logs/access.log main;
- error_log /home/sites/sign.io/logs/error.log;
- location / {
- try_files $uri /index.php;
- }
- error_page 500 502 503 504 /50x.html;
- location = /50x.html {
- root /usr/local/www/nginx-dist;
- }
- location /index.php {
- fastcgi_pass 174.142.193.58:9000;
- fastcgi_index index.php;
- fastcgi_param SCRIPT_FILENAME /home/sites/sign.io/home/html$fastcgi_script_name;
- include fastcgi_params;
- }
- location ~\.php$ { rewrite ^ /index.php; }
- location ~ /\.ht {
- deny all;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement