Skip to content

Commit

Permalink
fix(nginx): specify server wide root
Browse files Browse the repository at this point in the history
  • Loading branch information
dargmuesli committed Aug 31, 2021
1 parent e37b4c4 commit a5dee8c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,8 @@ http {
gzip_proxied expired no-cache no-store private no_last_modified no_etag auth;
gzip_types application/atom+xml application/javascript application/json application/ld+json application/manifest+json application/rss+xml application/vnd.geo+json application/vnd.ms-fontobject application/x-font-ttf application/x-web-app-manifest+json application/xhtml+xml application/xml font/opentype image/bmp image/svg+xml image/x-icon text/cache-manifest text/css text/plain text/vcard text/vnd.rim.location.xloc text/vtt text/x-component text/x-cross-domain-policy;

location / {
root /usr/share/nginx/html;
index index.html;
}
root /usr/share/nginx/html;
index index.html;

location /healthcheck {
return 200 'alive';
Expand Down

0 comments on commit a5dee8c

Please sign in to comment.