-
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
69 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
load_module '/usr/lib/nginx/modules/ngx_stream_module.so'; | ||
worker_processes auto; | ||
worker_rlimit_nofile 35000; | ||
events { | ||
worker_connections 15000; | ||
multi_accept off; | ||
} | ||
|
||
http { | ||
|
||
access_log /var/log/nginx/access.log; | ||
error_log /var/log/nginx/error.log; | ||
server { | ||
listen 8080 default_server; | ||
listen [::]:8080 default_server; | ||
resolver 8.8.8.8 ipv6=off; | ||
include /etc/nginx/allowedClients.conf; | ||
location / { | ||
proxy_pass http://$host$request_uri; | ||
} | ||
} | ||
|
||
} | ||
|
||
|
||
stream { | ||
log_format basic '$remote_addr [$time_local] ' | ||
'$protocol $status $bytes_sent $bytes_received ' | ||
'$session_time'; | ||
|
||
access_log /var/log/nginx/access.log basic; | ||
error_log /var/log/nginx/error.log error; | ||
|
||
server { | ||
resolver 1.1.1.1 ipv6=off; | ||
listen 8443; | ||
include /etc/nginx/allowedClients.conf; | ||
ssl_preread on; | ||
proxy_connect_timeout 5s; | ||
proxy_pass $ssl_preread_server_name:443; | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters