forked from linux/WebHosting
rename to tomcatwiki WE GO LIVE BABY
Signed-off-by: Basil Bruhn <basil.bruhn@psi.ch>
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name tomcatwiki-test.psi.ch;
|
||||
server_name tomcatwiki.psi.ch;
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name tomcatwiki-test.psi.ch;
|
||||
server_name tomcatwiki.psi.ch;
|
||||
|
||||
ssl_certificate /etc/nginx/certs/tomcatwiki-test.psi.ch.crt;
|
||||
ssl_certificate_key /etc/nginx/private/tomcatwiki-test.psi.ch.key;
|
||||
ssl_certificate /etc/nginx/certs/tomcatwiki.psi.ch.crt;
|
||||
ssl_certificate_key /etc/nginx/private/tomcatwiki.psi.ch.key;
|
||||
|
||||
location / {
|
||||
proxy_pass http://tomcatwiki:3000;
|
||||
Reference in New Issue
Block a user