+ laravel nginx config, php84
This commit is contained in:
9
config/nginx/includes.d/laravel.conf
Normal file
9
config/nginx/includes.d/laravel.conf
Normal file
@ -0,0 +1,9 @@
|
||||
location / {
|
||||
rewrite ^/.*$ /index.php last;
|
||||
}
|
||||
|
||||
# Whitelist
|
||||
location = /favicon.ico { try_files $uri /index.php; }
|
||||
location ~ ^/.*\.xml { try_files $uri /index.php; }
|
||||
location = /robots.txt { try_files $uri /index.php; }
|
||||
location = /humans.txt { try_files $uri /index.php; }
|
Reference in New Issue
Block a user