aboutsummaryrefslogtreecommitdiffstats
path: root/spring-front/nginx.conf
diff options
context:
space:
mode:
Diffstat (limited to 'spring-front/nginx.conf')
-rw-r--r--spring-front/nginx.conf5
1 files changed, 4 insertions, 1 deletions
diff --git a/spring-front/nginx.conf b/spring-front/nginx.conf
index e726512..197ba1f 100644
--- a/spring-front/nginx.conf
+++ b/spring-front/nginx.conf
@@ -2,8 +2,9 @@ events {
worker_connections 1024;
}
http {
+ include mime.types;
server {
- listen 443 ssl;
+ listen 443 ssl http2;
keepalive_timeout 70;
ssl_certificate /certs/server.cert;
ssl_certificate_key /certs/server.key;
@@ -13,6 +14,8 @@ http {
tcp_nopush on;
location / {
root /usr/share/nginx/html;
+ index index.html;
+ try_files $uri $uri/ /index.html;
}
}
}