Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 80;
- server_name _;
- root /var/www/laravel-docker/public;
- index index.php;
- error_log /var/log/nginx/error.log;
- location / {
- try_files $uri /$uri /index.php?$query_string;
- }
- location ~ [^/].php(/|$) {
- fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
- fastcgi_pass fpm:9000;
- fastcgi_index index.php;
- fastcgi_split_path_info ^(.+\.php)(/.+)$;
- include fastcgi_params;
- fastcgi_param HTTPS off;
- fastcgi_param APPLICATION_ENV local;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement