Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 80;
- server_name api.myapp.loc;
- access_log /home/nathan/project/api/logs/access.log;
- error_log /home/nathan/project/api/logs/error.log debug;
- index index.php index.html index.htm
- root /home/nathan/project/api/public;
- charset utf-8;
- location / {
- try_files $uri $uri/ /index.php;
- }
- location ~ .php$ {
- try_files $uri =404;
- fastcgi_pass unix:/run/php/php7.0-fpm.sock;
- fastcgi_index /index.php;
- include fastcgi_params;
- fastcgi_split_path_info ^(.+.php)(/.+)$;
- fastcgi_param PATH_INFO $fastcgi_path_info;
- fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- # super long timeout for long queries...
- proxy_read_timeout 600s;
- fastcgi_read_timeout 600s;
- }
- location ~ /.ht {
- deny all;
- }
- }
- 2017/10/21 09:43:21 [debug] 2005#2005: *1 http script var: "/crossdomain.xml"
- 2017/10/21 09:43:21 [debug] 2005#2005: *1 trying to use file: "/crossdomain.xml" "/usr/share/nginx/html/crossdomain.xml"
- 2017/10/21 09:43:21 [debug] 2005#2005: *1 http script var: "/crossdomain.xml"
- 2017/10/21 09:43:21 [debug] 2005#2005: *1 trying to use dir: "/crossdomain.xml" "/usr/share/nginx/html/crossdomain.xml"
- 2017/10/21 09:43:21 [debug] 2005#2005: *1 trying to use file: "/index.php" "/usr/share/nginx/html/index.php"
- 2017/10/21 09:43:21 [debug] 2005#2005: *1 internal redirect: "/index.php?"
Add Comment
Please, Sign In to add comment