forked from linux/WebHosting
add pikettlischte-beautifier for pikett.psi.ch (#85)
Co-authored-by: Aimo Altorfer <hansoberdorf41@gmail.com> Reviewed-on: linux/WebHosting#85 Co-authored-by: altorf_a <aimo.altorfer@psi.ch>
This commit is contained in:
1 parent
0c2d51b85b
commit
94d11e34ce
2 files changed
+31
No files matched your search
@@ -0,0 +1,21 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name rf-pikett.psi.ch;
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name rf-pikett.psi.ch;
|
||||
|
||||
ssl_certificate /etc/nginx/certs/rf-pikett.psi.ch.crt;
|
||||
ssl_certificate_key /etc/nginx/private/rf-pikett.psi.ch.key;
|
||||
|
||||
location / {
|
||||
proxy_pass http://pikettlischte-beautifier:80;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
}
|
||||
@@ -573,6 +573,16 @@ services:
|
||||
volumes:
|
||||
- /opt/webcontent/rocrate-dev/dev:/ro-crate:rw
|
||||
|
||||
# Aimo Altorfer / Roger Kalt - RF
|
||||
# rf-pikett.psi.ch - Pikettlischte Beautifier
|
||||
# Image is built from https://gitea.psi.ch/RF/pikettlischte-beautifier
|
||||
pikettlischte-beautifier:
|
||||
image: gitea.psi.ch/rf/pikettlischte-beautifier:latest
|
||||
container_name: pikettlischte-beautifier
|
||||
restart: always
|
||||
networks:
|
||||
- backend
|
||||
|
||||
networks:
|
||||
public:
|
||||
backend:
|
||||
|
||||
Reference in new issue
Block a user