mirror of https://github.com/VERT-sh/VERT.git
fix: that didnt fix the nav issues?
This commit is contained in:
parent
36e186c90d
commit
a8386ee3f1
17
nginx.conf
17
nginx.conf
|
@ -3,14 +3,23 @@ server {
|
|||
server_name vert;
|
||||
|
||||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
|
||||
client_max_body_size 10M;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
|
||||
location ~* \.(?:ico|css|js|gif|jpe?g|png|woff2?|eot|ttf|svg|otf|webp)$ {
|
||||
expires 6M;
|
||||
access_log off;
|
||||
add_header Cache-Control "public";
|
||||
}
|
||||
|
||||
error_page 404 /index.html;
|
||||
|
||||
add_header Cross-Origin-Embedder-Policy "require-corp";
|
||||
add_header Cross-Origin-Opener-Policy "same-origin";
|
||||
add_header Cross-Origin-Resource-Policy "cross-origin";
|
||||
|
||||
location / {
|
||||
try_files $uri /index.html;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue