This repository has been archived on 2022-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
2021-12-20 10:27:29 +00:00
|
|
|
server {
|
2021-12-20 13:18:48 +00:00
|
|
|
# local server - do not expose this port externally
|
2021-12-20 10:27:29 +00:00
|
|
|
listen 8000;
|
|
|
|
listen [::]:8000;
|
|
|
|
|
|
|
|
# secure traffic by limiting to only local networks
|
|
|
|
allow 10.0.0.0/8;
|
|
|
|
allow 127.0.0.1/32;
|
|
|
|
allow 172.16.0.0/12;
|
|
|
|
allow 192.168.0.0/16;
|
|
|
|
deny all;
|
|
|
|
|
|
|
|
include /etc/nginx/conf.d/server/server.local;
|
|
|
|
}
|