mirror of
https://github.com/koodiklinikka/koodiklinikka.fi.git
synced 2026-03-11 07:02:53 +00:00
change nginx config to be just a location block
This commit is contained in:
@@ -1,15 +1,9 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name {{ public_hostname }};
|
||||
|
||||
location / {
|
||||
root {{ projects_path }}/public;
|
||||
|
||||
location / {
|
||||
try_files $uri /index.html;
|
||||
gzip_static on;
|
||||
gzip_http_version 1.1;
|
||||
gzip_proxied expired no-cache no-store private auth;
|
||||
gzip_disable "MSIE [1-6]\.";
|
||||
gzip_vary on;
|
||||
}
|
||||
try_files $uri /index.html;
|
||||
gzip_static on;
|
||||
gzip_http_version 1.1;
|
||||
gzip_proxied expired no-cache no-store private auth;
|
||||
gzip_disable "MSIE [1-6]\.";
|
||||
gzip_vary on;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user