Update nginx containter

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
Bensuperpc committed 2023-03-19 13:01:07 +01:00
1 parent de813d0f66
commit 6c244e3e68
21 files changed
+56 -9

No files matched your search

+4
View File
@@ -21,3 +21,7 @@ services:
--webroot-path=/var/www/flask --domain bensuperpc.org --domain www.bensuperpc.org --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/jellyfin --domain jellyfin.bensuperpc.org --domain www.jellyfin.bensuperpc.org
--webroot-path=/var/www/wordpress --domain wordpress.bensuperpc.org --domain www.wordpress.bensuperpc.org --webroot-path=/var/www/wordpress --domain wordpress.bensuperpc.org --domain www.wordpress.bensuperpc.org
volumes:
certbot-cert:
name: certbot-cert
+12
View File
@@ -45,3 +45,15 @@ services:
- flask_db - flask_db
networks: networks:
- app-network - app-network
volumes:
postgres-data:
name: postgres-data
# flask:
# name: flask
# driver: local
# driver_opts:
# type: bind
# device: ":./bensuperpc_website"
# o: bind
+2 -1
View File
@@ -15,7 +15,8 @@ services:
volumes: volumes:
- wordpress:/var/www/wordpress - wordpress:/var/www/wordpress
- jellyfin:/var/www/jellyfin - 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 - certbot-cert:/etc/letsencrypt:ro
networks: networks:
- app-network - app-network
-8
View File
@@ -1,12 +1,6 @@
version: "3.9" version: "3.9"
volumes: volumes:
certbot-cert:
name: certbot-cert
wordpress:
name: wordpress
dbdata:
name: dbdata
qbittorrent-downloads: qbittorrent-downloads:
name: qbittorrent-downloads name: qbittorrent-downloads
qbittorrent-conf: qbittorrent-conf:
@@ -19,5 +13,3 @@ volumes:
name: jellyfin-movies name: jellyfin-movies
jellyfin: jellyfin:
name: jellyfin name: jellyfin
postgres-data:
name: postgres-data
+6
View File
@@ -54,3 +54,9 @@ services:
- wp_db - wp_db
networks: networks:
- app-network - 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.
+32
View File
@@ -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;
}