diff --git a/proxy-frontend/nginx.conf b/proxy-frontend/nginx.conf new file mode 100644 index 0000000..77eaaec --- /dev/null +++ b/proxy-frontend/nginx.conf @@ -0,0 +1,23 @@ +# See: https://www.nginx.com/resources/wiki/start/topics/examples/full/ + +http { + include conf/mime.types; + include /etc/nginx/proxy.conf; + + default_type application/octet-stream; + sendfile on; + tcp_nopush on; + server_names_hash_bucket_size 128; + + upstream matrix_nurd { + server 127.0.0.1:8000; + } + + server { + listen 80; + server_name big.server.com; + location / { + proxy_pass http://matrix_nurd; + } + } +}