mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2026-10-24 20:05:05 +02:00
Update nginx containter
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
21 files changed
+56
-9
No files matched your search
@@ -21,3 +21,7 @@ services:
|
||||
--webroot-path=/var/www/flask --domain bensuperpc.org --domain www.bensuperpc.org
|
||||
--webroot-path=/var/www/jellyfin --domain jellyfin.bensuperpc.org --domain www.jellyfin.bensuperpc.org
|
||||
--webroot-path=/var/www/wordpress --domain wordpress.bensuperpc.org --domain www.wordpress.bensuperpc.org
|
||||
|
||||
volumes:
|
||||
certbot-cert:
|
||||
name: certbot-cert
|
||||
@@ -45,3 +45,15 @@ services:
|
||||
- flask_db
|
||||
networks:
|
||||
- app-network
|
||||
|
||||
volumes:
|
||||
postgres-data:
|
||||
name: postgres-data
|
||||
|
||||
# flask:
|
||||
# name: flask
|
||||
# driver: local
|
||||
# driver_opts:
|
||||
# type: bind
|
||||
# device: ":./bensuperpc_website"
|
||||
# o: bind
|
||||
@@ -15,7 +15,8 @@ services:
|
||||
volumes:
|
||||
- wordpress:/var/www/wordpress
|
||||
- jellyfin:/var/www/jellyfin
|
||||
- ./nginx-conf:/etc/nginx/conf.d
|
||||
- ./nginx/conf.d:/etc/nginx/conf.d:ro
|
||||
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
|
||||
- certbot-cert:/etc/letsencrypt:ro
|
||||
networks:
|
||||
- app-network
|
||||
|
||||
@@ -1,12 +1,6 @@
|
||||
version: "3.9"
|
||||
|
||||
volumes:
|
||||
certbot-cert:
|
||||
name: certbot-cert
|
||||
wordpress:
|
||||
name: wordpress
|
||||
dbdata:
|
||||
name: dbdata
|
||||
qbittorrent-downloads:
|
||||
name: qbittorrent-downloads
|
||||
qbittorrent-conf:
|
||||
@@ -19,5 +13,3 @@ volumes:
|
||||
name: jellyfin-movies
|
||||
jellyfin:
|
||||
name: jellyfin
|
||||
postgres-data:
|
||||
name: postgres-data
|
||||
@@ -54,3 +54,9 @@ services:
|
||||
- wp_db
|
||||
networks:
|
||||
- app-network
|
||||
|
||||
volumes:
|
||||
wordpress:
|
||||
name: wordpress
|
||||
dbdata:
|
||||
name: dbdata
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,32 @@
|
||||
|
||||
user nginx;
|
||||
worker_processes auto;
|
||||
|
||||
error_log /var/log/nginx/error.log notice;
|
||||
pid /var/run/nginx.pid;
|
||||
|
||||
|
||||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
|
||||
|
||||
http {
|
||||
include /etc/nginx/mime.types;
|
||||
default_type application/octet-stream;
|
||||
|
||||
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
|
||||
'$status $body_bytes_sent "$http_referer" '
|
||||
'"$http_user_agent" "$http_x_forwarded_for"';
|
||||
|
||||
access_log /var/log/nginx/access.log main;
|
||||
|
||||
sendfile on;
|
||||
#tcp_nopush on;
|
||||
|
||||
keepalive_timeout 65;
|
||||
|
||||
#gzip on;
|
||||
|
||||
include /etc/nginx/conf.d/*.conf;
|
||||
}
|
||||
Reference in new issue
Block a user