init files from local folder
init with all my previous files
This commit is contained in:
commit
82c36314d1
23 changed files with 1023 additions and 0 deletions
15
infra_conf/test/nginx/docker_nginx.yml
Executable file
15
infra_conf/test/nginx/docker_nginx.yml
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
services:
|
||||
nginx:
|
||||
image: nginx:latest
|
||||
container_name: nginx-proxy
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
volumes:
|
||||
- ./nginx.conf:/etc/nginx/nginx.conf
|
||||
- ./certs:/etc/nginx/certs
|
||||
|
||||
networks:
|
||||
default:
|
||||
external:
|
||||
name: nginx-proxy-net
|
||||
94
infra_conf/test/nginx/nginx.conf
Executable file
94
infra_conf/test/nginx/nginx.conf
Executable file
|
|
@ -0,0 +1,94 @@
|
|||
events {
|
||||
worker_connections 4096; ## Default: 1024
|
||||
}
|
||||
http {
|
||||
# radarr
|
||||
server {
|
||||
listen 80;
|
||||
server_name griffix.hopto.org:7878;
|
||||
location / {
|
||||
proxy_pass http://192.168.1.55:7878;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
}
|
||||
}
|
||||
# server {
|
||||
# listen 443 ssl;
|
||||
# server_name www.first.com first.com;
|
||||
# ssl_certificate /etc/nginx/certs/ssl_cert.crt;
|
||||
# ssl_certificate_key /etc/nginx/certs/ssl_key.key;
|
||||
# location / {
|
||||
# proxy_pass http://first_container:first_port;
|
||||
# proxy_set_header Host $host;
|
||||
# proxy_set_header X-Real-IP $remote_addr;
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
|
||||
# sonarr
|
||||
server {
|
||||
listen 80;
|
||||
server_name griffix.hopto.org:8989;
|
||||
location / {
|
||||
proxy_pass http://192.168.1.55:8989;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
}
|
||||
}
|
||||
# server {
|
||||
# listen 443 ssl;
|
||||
# server_name www.second.com second.com;
|
||||
# ssl_certificate /etc/nginx/certs/ssl_cert.crt;
|
||||
# ssl_certificate_key /etc/nginx/certs/ssl_key.key;
|
||||
# location / {
|
||||
# proxy_pass http://second_container:second_port;
|
||||
# proxy_set_header Host $host;
|
||||
# proxy_set_header X-Real-IP $remote_addr;
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
|
||||
# qbit
|
||||
server {
|
||||
listen 80;
|
||||
server_name griffix.hopto.org:8081;
|
||||
location / {
|
||||
proxy_pass http://192.168.1.55:8080;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
}
|
||||
}
|
||||
# server {
|
||||
# listen 443 ssl;
|
||||
# server_name www.second.com second.com;
|
||||
# ssl_certificate /etc/nginx/certs/ssl_cert.crt;
|
||||
# ssl_certificate_key /etc/nginx/certs/ssl_key.key;
|
||||
# location / {
|
||||
# proxy_pass http://second_container:second_port;
|
||||
# proxy_set_header Host $host;
|
||||
# proxy_set_header X-Real-IP $remote_addr;
|
||||
# }
|
||||
# }
|
||||
|
||||
# Jellyfin
|
||||
server {
|
||||
listen 80;
|
||||
server_name griffix.hopto.org:8096;
|
||||
location / {
|
||||
proxy_pass http://192.168.1.55:8096;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
}
|
||||
}
|
||||
# server {
|
||||
# listen 443 ssl;
|
||||
# server_name www.second.com second.com;
|
||||
# ssl_certificate /etc/nginx/certs/ssl_cert.crt;
|
||||
# ssl_certificate_key /etc/nginx/certs/ssl_key.key;
|
||||
# location / {
|
||||
# proxy_pass http://second_container:second_port;
|
||||
# proxy_set_header Host $host;
|
||||
# proxy_set_header X-Real-IP $remote_addr;
|
||||
# }
|
||||
# }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue