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.conf18
1 files changed, 18 insertions, 0 deletions
diff --git a/spring-front/nginx.conf b/spring-front/nginx.conf
new file mode 100644
index 0000000..e726512
--- /dev/null
+++ b/spring-front/nginx.conf
@@ -0,0 +1,18 @@
+events {
+ worker_connections 1024;
+}
+http {
+ server {
+ listen 443 ssl;
+ keepalive_timeout 70;
+ ssl_certificate /certs/server.cert;
+ ssl_certificate_key /certs/server.key;
+ ssl_protocols TLSv1.2 TLSv1.3;
+ ssl_ciphers HIGH:!aNULL:!MD5;
+ sendfile on;
+ tcp_nopush on;
+ location / {
+ root /usr/share/nginx/html;
+ }
+ }
+}