forked from linux/WebHosting_DMZ
Merge pull request 'spotscan' (#3) from spotscan into main
Reviewed-on: linux/WebHosting_DMZ#3
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
# INC0150202 Kohlbrecher Joachim & Wall Edward Owen
|
||||
server {
|
||||
listen 80;
|
||||
server_name spotscan.psi.ch;
|
||||
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name spotscan.psi.ch;
|
||||
|
||||
root /opt/webcontent/spotscan;
|
||||
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/spotscan.access.log;
|
||||
error_log /var/log/nginx/spotscan.error.log;
|
||||
|
||||
location / {
|
||||
autoindex on;
|
||||
autoindex_exact_size off;
|
||||
autoindex_localtime on;
|
||||
|
||||
try_files $uri $uri/ =404;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,6 +13,7 @@ services:
|
||||
- /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
|
||||
- /opt/webcontent/spotscan:/opt/webcontent/spotscan:ro
|
||||
networks:
|
||||
- public
|
||||
- backend
|
||||
|
||||
Reference in New Issue
Block a user