Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- location / {
- root /apps/www/insidelime.cwwi.cwintra.com/html;
- try_files $uri $uri/ index.php /index.php$is_args$args;
- }
- access_log "/apps/www/insidelime.cwwi.cwintra.com/logs/access.log";
- error_log "/apps/www/insidelime.cwwi.cwintra.com/logs/error.log";
- location ~ \.php$ {
- root /apps/www/insidelime.cwwi.cwintra.com/html;
- try_files $uri $uri/ /index.php /index.php$is_args$args$is_args$args;
- index index.html index.htm index.php;
- fastcgi_index index.php;
- fastcgi_param SCRIPT_FILENAME $request_filename;
- fastcgi_param APP_ENV prod;
- fastcgi_pass 127.0.0.1:9000;
- fastcgi_split_path_info ^(.+\.php)(/.*)$;
- include fastcgi_params;
- }
- error_page 500 502 503 504 /50x.html;
- location = /50x.html {
- root /usr/share/nginx/html;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement