Added other containers
Some checks reported warnings
Build and push image / Build (push) Has been cancelled
Some checks reported warnings
Build and push image / Build (push) Has been cancelled
This commit is contained in:
55
nginx-web/configs/nginx.conf
Normal file
55
nginx-web/configs/nginx.conf
Normal file
@@ -0,0 +1,55 @@
|
||||
user www-data;
|
||||
worker_processes auto;
|
||||
pid /run/nginx.pid;
|
||||
include /etc/nginx/modules-enabled/*.conf;
|
||||
|
||||
events {
|
||||
worker_connections 768;
|
||||
#multi_accept on;
|
||||
}
|
||||
|
||||
http {
|
||||
server_names_hash_bucket_size 128;
|
||||
set_real_ip_from 172.18.0.0/16;
|
||||
set_real_ip_from fd00:0:0:0:2::/64;
|
||||
real_ip_header X-Forwarded-For;
|
||||
# add_header X-Frame-Options 'ALLOW-FROM : https://nextcloud.thatguyjack.co.uk';
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
|
||||
sub_filter '</head>' '<script async="" src="https://ip-update.net/ipupdate.js"></script> </head>';
|
||||
sub_filter_once on;
|
||||
|
||||
##
|
||||
# Basic Settings
|
||||
##
|
||||
server_tokens off;
|
||||
sendfile on;
|
||||
tcp_nopush on;
|
||||
tcp_nodelay on;
|
||||
keepalive_timeout 65;
|
||||
types_hash_max_size 2048;
|
||||
# server_tokens off;
|
||||
client_max_body_size 20480m;
|
||||
client_body_timeout 420s;
|
||||
# server_names_hash_bucket_size 64;
|
||||
# server_name_in_redirect off;
|
||||
|
||||
include /etc/nginx/mime.types;
|
||||
default_type application/octet-stream;
|
||||
|
||||
##
|
||||
# SSL Settings
|
||||
##
|
||||
|
||||
ssl_protocols TLSv1.2 TLSv1.3; # Dropping SSLv3, ref: POODLE
|
||||
ssl_prefer_server_ciphers on;
|
||||
|
||||
access_log /var/log/nginx/access.log;
|
||||
error_log /var/log/nginx/error.log debug;
|
||||
|
||||
gzip on;
|
||||
include /etc/nginx/conf.d/*.conf;
|
||||
include /etc/nginx/sites-enabled/*;
|
||||
}
|
Reference in New Issue
Block a user