Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- root /var/www/example.sharetronix;
- server_name example.sharetronix www.example.sharetronix;
- location / {
- if (!-e $request_filename) {
- rewrite ^(.*)$ /index.php?$args break;
- }
- }
- location ~ / {
- fastcgi_pass unix:/var/run/php5-fpm.sock;
- fastcgi_split_path_info ^(.+\.php)(/.*)$;
- include fastcgi_params;
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- fastcgi_param HTTPS off;
- }
- error_log /var/log/nginx/example.sharetronix.error.log;
- access_log /var/log/nginx/example.sharetronix.access.log;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement