forked from linux/WebHosting_DMZ
update nginx and add sinqstatus
Signed-off-by: Basil Bruhn <basil.bruhn@psi.ch>
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
# INC0150202 Kohlbrecher Joachim & Wall Edward Owen
|
||||
server {
|
||||
listen 80;
|
||||
server_name sinqstatus.psi.ch;
|
||||
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name sinqstatus.psi.ch;
|
||||
|
||||
root /opt/webcontent/sinqstatus;
|
||||
index index.html;
|
||||
|
||||
ssl_certificate /etc/nginx/certs/lx-docker-dmz-01.psi.ch.crt;
|
||||
ssl_certificate_key /etc/nginx/private/lx-docker-dmz-01.psi.ch.key;
|
||||
|
||||
access_log /var/log/nginx/sinqstatus.access.log;
|
||||
error_log /var/log/nginx/sinqstatus.error.log;
|
||||
|
||||
location / {
|
||||
autoindex on;
|
||||
autoindex_exact_size off;
|
||||
autoindex_localtime on;
|
||||
|
||||
try_files $uri $uri/ =404;
|
||||
}
|
||||
}
|
||||
|
||||
+2
-1
@@ -1,7 +1,7 @@
|
||||
services:
|
||||
# linux-eng@psi.ch
|
||||
nginx:
|
||||
image: gitea.psi.ch/images/nginx:1.27.4
|
||||
image: gitea.psi.ch/images/nginx:1.29.0
|
||||
container_name: nginx_proxy
|
||||
restart: always
|
||||
ports:
|
||||
@@ -12,6 +12,7 @@ services:
|
||||
- /etc/pki/tls/private:/etc/nginx/private:ro
|
||||
- /etc/nginx/nginx.conf:/etc/nginx/nginx.conf:ro
|
||||
- /etc/nginx/conf.d:/etc/nginx/conf.d:ro
|
||||
- /opt/webcontent/sinqstatus:/opt/webcontent/sinqstatus:ro
|
||||
networks:
|
||||
- public
|
||||
- backend
|
||||
|
||||
Reference in New Issue
Block a user