Skip to content

Commit

Permalink
latest nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
Upstage system user committed May 10, 2024
1 parent 07725e4 commit 033ea80
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions config/prod/app1_nginx_upstage.conf
Original file line number Diff line number Diff line change
Expand Up @@ -47,27 +47,12 @@ server {
#limit_req zone=limitone burst=20 nodelay;
#auth_basic "Enter password.";
#auth_basic_user_file /etc/nginx/htpasswd;
alias /home/upstage/upstage/dashboard/dist/;
try_files $uri $uri/ /index.html;
add_header Last-Modified $date_gmt;
add_header 'Cache-Control' 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
if_modified_since off;
expires off;
etag off;
gzip on;
gzip_types *;
gzip_proxied no-cache no-store private expired auth;
gzip_min_length 1000;
}


location /studio {
alias /home/upstage/upstage/studio/dist/;
try_files $uri $uri/ /studio/index.html;
try_files $uri $uri/ /index.html;
add_header Last-Modified $date_gmt;
add_header 'Cache-Control' 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
if_modified_since off;
expires off;
expires -1;
etag off;
gzip on;
gzip_types *;
Expand Down

0 comments on commit 033ea80

Please sign in to comment.