diff --git a/docs/adminGuide/Admin_Guide.md b/docs/adminGuide/Admin_Guide.md index 792d6142..619022e1 100644 --- a/docs/adminGuide/Admin_Guide.md +++ b/docs/adminGuide/Admin_Guide.md @@ -107,8 +107,7 @@ openssl req -x509 -out localhost.crt -keyout localhost.key \ ``` _NOTE: For productive use, you can use certificates provided by a Certificate Authority._ -Create a nginx.conf to provide certificates for listening on 443 for tls. You can find an example -[here](../frontend/nginx.conf). +Create a nginx.conf to provide certificates for listening on 443 for tls. ``` conf http { # other configurations diff --git a/frontend/nginx.conf b/frontend/nginx.conf deleted file mode 100644 index f158a807..00000000 --- a/frontend/nginx.conf +++ /dev/null @@ -1,50 +0,0 @@ -worker_processes auto; - -error_log /var/log/nginx/error.log notice; -pid /tmp/nginx.pid; - - -events { - worker_connections 1024; -} - -http{ - proxy_temp_path /tmp/proxy_temp; - client_body_temp_path /tmp/client_temp; - fastcgi_temp_path /tmp/fastcgi_temp; - uwsgi_temp_path /tmp/uwsgi_temp; - scgi_temp_path /tmp/scgi_temp; - - include /etc/nginx/mime.types; - default_type application/octet-stream; - - log_format main '$remote_addr - $remote_user [$time_local] "$request" ' - '$status $body_bytes_sent "$http_referer" ' - '"$http_user_agent" "$http_x_forwarded_for"'; - - 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 { - listen 443 ssl; - server_name local-puris-frontend.com; - - ssl_certificate /etc/nginx/ssl/localhost.crt; - ssl_certificate_key /etc/nginx/ssl/localhost.key; - - ssl_protocols TLSv1.2 TLSv1.3; - - location / { - root /usr/share/nginx/html; - index index.html; - } - } -}