Hardening of the Frontend docker image (#377)

* move the env-config script to a sub folder
* fix doc
* fix ports and ref to the official image
* add hardening to the docker-compose examples
This commit is contained in:
Chevdor
2021-08-26 12:20:01 +02:00
committed by GitHub
parent c201ece634
commit 238d529eae
10 changed files with 83 additions and 22 deletions
+2 -3
View File
@@ -1,4 +1,3 @@
user nginx;
worker_processes auto;
worker_rlimit_nofile 30000;
@@ -19,13 +18,13 @@ http {
access_log /var/log/nginx/access.log main;
sendfile on;
#tcp_nopush on;
keepalive_timeout 65;
gzip on;
include /etc/nginx/conf.d/*.conf;
server {
root /usr/share/nginx/html;
root /app;
index index.html;
listen 8000;
listen [::]:8000;