forked from linux/WebHosting
deploy fluid-eos and rfmwtools test
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 fluid-eos-test.psi.ch;
|
||||
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name fluid-eos-test.psi.ch;
|
||||
|
||||
root /opt/webcontent/fluid-eos;
|
||||
index index.html;
|
||||
|
||||
ssl_certificate /etc/nginx/certs/fluid-eos-test.psi.ch.crt;
|
||||
ssl_certificate_key /etc/nginx/private/fluid-eos-test.psi.ch.key;
|
||||
|
||||
access_log /var/log/nginx/fluid-eos-test.access.log;
|
||||
error_log /var/log/nginx/fluid-eos-test.error.log;
|
||||
|
||||
location / {
|
||||
autoindex on;
|
||||
autoindex_exact_size off;
|
||||
autoindex_localtime on;
|
||||
|
||||
try_files $uri $uri/ =404;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
# Gaspar Marcos - ISPD Migration
|
||||
server {
|
||||
listen 80;
|
||||
server_name rfmwtools-test.psi.ch;
|
||||
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name rfmwtools-test.psi.ch;
|
||||
|
||||
root /opt/webcontent/rfmwtools;
|
||||
index rfmwtools.html;
|
||||
|
||||
ssl_certificate /etc/nginx/certs/rfmwtools-test.psi.ch.crt;
|
||||
ssl_certificate_key /etc/nginx/private/rfmwtools-test.psi.ch.key;
|
||||
|
||||
access_log /var/log/nginx/rfmwtools-test.access.log;
|
||||
error_log /var/log/nginx/rfmwtools-test.error.log;
|
||||
|
||||
location / {
|
||||
autoindex on;
|
||||
autoindex_exact_size off;
|
||||
autoindex_localtime on;
|
||||
|
||||
try_files $uri $uri/ =404;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,6 +18,8 @@ services:
|
||||
- /etc/nginx/nginx.conf:/etc/nginx/nginx.conf:ro
|
||||
- /etc/nginx/conf.d:/etc/nginx/conf.d:ro
|
||||
- /opt/webcontent/sinqstatus-test:/opt/webcontent/sinqstatus-test:ro
|
||||
- /opt/webcontent/fluid-eos:/opt/webcontent/fluid-eos:ro
|
||||
- /opt/webcontent/rfmwtools:/opt/webcontent/rfmwtools:ro
|
||||
- /opt/webcontent/it-strategy-dashboard/frontend/:/opt/webcontent/it-strategy-dashboard/:ro
|
||||
networks:
|
||||
- public
|
||||
|
||||
Reference in New Issue
Block a user