Initial working configuration.
Next step to refactor so its easier to read.
This commit is contained in:
1 parent
5aac7eebb8
commit
9531b42cdb
8 files changed
+185
-160
No files matched your search
@@ -34,7 +34,7 @@ server {
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_pass http://website:3000;
|
||||
proxy_pass http://m5p3nc3r:3000;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -49,8 +49,16 @@ server {
|
||||
|
||||
add_header Strict-Transport-Security "max-age=31536000" always;
|
||||
|
||||
# Allow large pushes / LFS uploads (default is 1m!)
|
||||
client_max_body_size 512m;
|
||||
|
||||
location / {
|
||||
proxy_pass http://gitea:3000;
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -70,40 +78,6 @@ server {
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_pass http://apptabulous_website:3000;
|
||||
proxy_pass http://apptabulous:3000;
|
||||
}
|
||||
}
|
||||
|
||||
# Container registry
|
||||
# server {
|
||||
# listen 443 ssl;
|
||||
# listen [::]:443 ssl;
|
||||
# server_name hub.apptabulous.co.uk;
|
||||
|
||||
# ssl_certificate /etc/letsencrypt/live/apptabulous.co.uk/fullchain.pem;
|
||||
# ssl_certificate_key /etc/letsencrypt/live/apptabulous.co.uk/privkey.pem;
|
||||
|
||||
# # disable any limits to avoid HTTP 413 for large image uploads
|
||||
# client_max_body_size 0;
|
||||
|
||||
# # required to avoid HTTP 411: see Issue #1486 (https://github.com/docker/docker/issues/1486)
|
||||
# chunked_transfer_encoding on;
|
||||
|
||||
# location / {
|
||||
# proxy_pass http://rpi4-2:5000;
|
||||
# }
|
||||
# }
|
||||
|
||||
# Watchtower
|
||||
# server {
|
||||
# listen 443 ssl;
|
||||
# listen [::]:443 ssl;
|
||||
# server_name watchtower.apptabulous.co.uk;
|
||||
|
||||
# ssl_certificate /etc/letsencrypt/live/apptabulous.co.uk/fullchain.pem;
|
||||
# ssl_certificate_key /etc/letsencrypt/live/apptabulous.co.uk/privkey.pem;
|
||||
|
||||
# location / {
|
||||
# proxy_pass http://rpi4-2:8080;
|
||||
# }
|
||||
# }
|
||||
Reference in new issue
Block a user