diff --git a/src/CleanAspire.ClientApp/nginx.conf b/src/CleanAspire.ClientApp/nginx.conf new file mode 100644 index 0000000..3f29895 --- /dev/null +++ b/src/CleanAspire.ClientApp/nginx.conf @@ -0,0 +1,20 @@ +server { + listen 80; + listen 443 ssl; + + ssl_certificate /etc/ssl/certs/nginx-selfsigned.crt; + ssl_certificate_key /etc/ssl/private/nginx-selfsigned.key; + + server_name localhost; + + location / { + root /usr/share/nginx/html; + index index.html; + try_files $uri $uri/ /index.html; + } + + error_page 404 /404.html; + location = /404.html { + internal; + } +}