Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 81;
- root /srv/pufferpanel/;
- index index.php;
- server_name (i just hide it but i know how to fill this line);
- client_max_body_size 20m;
- client_body_timeout 120s;
- location / {
- try_files /public/router.php =404;
- fastcgi_split_path_info ^(.+?\.php)(/.*)$;
- fastcgi_pass unix:127.0.0.1:9000;
- fastcgi_index router.php;
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- include /etc/nginx/fastcgi_params;
- }
- location /assets {
- try_files /app/$uri =404;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement