|
|
@@ -1,9 +1,8 @@
|
|
|
# https://laravel.com/docs/12.x/deployment#nginx
|
|
|
|
|
|
server {
|
|
|
- listen 80;
|
|
|
server_name {{ app_domain }};
|
|
|
- root {{ app_deploy_target }}/api-v8/public;
|
|
|
+ root /bla-bla-bla;
|
|
|
|
|
|
add_header X-Frame-Options "SAMEORIGIN";
|
|
|
add_header X-Content-Type-Options "nosniff";
|
|
|
@@ -23,7 +22,7 @@ server {
|
|
|
# error_log syslog:server=unix:/dev/log,tag={{ app_domain }},nohostname,severity=error;
|
|
|
|
|
|
location {{ app_dashboard_base_path }}/ {
|
|
|
- alias {{ app_deploy_target }}/dashboard-v4/dashboard/dist/;
|
|
|
+ alias /bla-bla-bla;
|
|
|
try_files $uri $uri/ {{ app_dashboard_base_path }}/index.html;
|
|
|
|
|
|
location ~* \.(css|js|png|jpg|jpeg|gif|gz|svg|mp4|ogg|ogv|webm|htc|xml|woff)$ {
|