mirror of
https://github.com/Such-Software/xmrcheckout.git
synced 2026-10-17 05:51:34 +02:00
Remove TLS from nginx — NPM handles TLS on LAN
This commit is contained in:
@@ -2,16 +2,7 @@ limit_req_zone $binary_remote_addr zone=global_rate_limit:10m rate=50r/s;
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name localhost host.docker.internal example.com;
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name localhost host.docker.internal example.com;
|
||||
|
||||
ssl_certificate /etc/nginx/certs/dev.crt;
|
||||
ssl_certificate_key /etc/nginx/certs/dev.key;
|
||||
server_name xmrcheckout.such.software localhost;
|
||||
|
||||
limit_req zone=global_rate_limit burst=200 nodelay;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user