Skip to content

Commit 033ea80

Browse files
author
Upstage system user
committed
latest nginx
1 parent 07725e4 commit 033ea80

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

config/prod/app1_nginx_upstage.conf

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -47,27 +47,12 @@ server {
4747
#limit_req zone=limitone burst=20 nodelay;
4848
#auth_basic "Enter password.";
4949
#auth_basic_user_file /etc/nginx/htpasswd;
50-
alias /home/upstage/upstage/dashboard/dist/;
51-
try_files $uri $uri/ /index.html;
52-
add_header Last-Modified $date_gmt;
53-
add_header 'Cache-Control' 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
54-
if_modified_since off;
55-
expires off;
56-
etag off;
57-
gzip on;
58-
gzip_types *;
59-
gzip_proxied no-cache no-store private expired auth;
60-
gzip_min_length 1000;
61-
}
62-
63-
64-
location /studio {
6550
alias /home/upstage/upstage/studio/dist/;
66-
try_files $uri $uri/ /studio/index.html;
51+
try_files $uri $uri/ /index.html;
6752
add_header Last-Modified $date_gmt;
6853
add_header 'Cache-Control' 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
6954
if_modified_since off;
70-
expires off;
55+
expires -1;
7156
etag off;
7257
gzip on;
7358
gzip_types *;

0 commit comments

Comments
 (0)