Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 80;
- server_name skeleton.int;
- root /run/media/lakmal/Flex/Documents/dev/sites/skeleton.int/;
- location /app {
- deny all;
- }
- location / {
- try_files $uri $uri/ /index.php?route=$uri;
- index index.html index.htm index.php;
- }
- location ~ \.php$ {
- include /etc/nginx/fastcgi_params;
- fastcgi_pass unix:/run/php-fpm/php-fpm.sock;
- fastcgi_index index.php;
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement