Merge unrelated histories

This commit is contained in:
2024-02-09 12:51:42 +01:00
parent 04077edebe
commit 77e2bfd1e1
38 changed files with 33681 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
server {
listen 80;
root /var/www/html;
index index.html index.htm index.nginx-debian.html;
location / {
if ( $uri = '/index.html' ) {
add_header Cache-Control no-store always;
}
try_files $uri $uri/ /index.html;
}
# Do not cache sw.js, required for offline-first updates.
location /sw.js {
add_header Cache-Control "no-cache";
proxy_cache_bypass $http_pragma;
proxy_cache_revalidate on;
expires off;
access_log off;
}
location /api {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-NginX-Proxy true;
proxy_pass http://127.0.0.1:507;
proxy_set_header Host $http_host;
proxy_cache_bypass $http_upgrade;
proxy_redirect off;
}
}

20
Docker/docker-compose.yml Normal file
View File

@@ -0,0 +1,20 @@
version: "3.3"
services:
####:
image: ####
container_name: ##
restart: unless-stopped
networks:
- Backend
labels:
- "traefik.enable=true"
- "traefik.http.routers.###.rule=Host(`###`)"
- "traefik.http.routers.###.entrypoints=websecure"
- "traefik.http.services.###.loadbalancer.server.port=80"
- "traefik.http.routers.###.service=###"
- "traefik.http.routers.###.tls.certresolver=acme"
#Volume binding nicht vergessen
networks:
Backend:
external: true