Quote:
Originally Posted by HG2S
You should publish your Nginx config file here so readers can proof it and offer suggestions as needed. -Thanks
|
Thanks for your quick answer.
I've created a config file for each server block.
this is my nginx.conf contents:
code:
http {
##
# Basic Settings
##
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
types_hash_max_size 2048;
# server_tokens off;
server_names_hash_bucket_size 64;
# server_name_in_redirect off;
#let user upload files
client_max_body_size 200M;
include nginxaddress/mime.types;
default_type application/octet-stream;
##
# SSL Settings
##
ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; # Dropping SSLv3, ref: POODLE
ssl_prefer_server_ciphers on;
##
# Logging Settings
##
access_log nginxaddress/access.log;
error_log nginxaddress/error.log;
##
# Gzip Settings
##
gzip on;
##
# Virtual Host Configs
##
include nginxaddress/*.conf;
include nginxaddress/sites-enabled/*;
}
my sc_serv.conf:
code:
adminpassword=mypassword
password=mysecondpassword
requirestreamconfigs=1
streamadminpassword_1=mythirdpassword
streamid_1=1
streampassword_1=myfourthpassword
streampath_1=/
logfile=logs/sc_serv.log
w3clog=logs/sc_w3c.log
banfile=control/sc_serv.ban
ripfile=control/sc_serv.rip