From 94b0e9f6dbaade9cdde9e66c7899c499baf57a83 Mon Sep 17 00:00:00 2001 From: Manevolent Date: Sun, 23 Apr 2023 19:48:17 -0600 Subject: [PATCH] Create nginx.conf --- proxy-frontend/nginx.conf | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 proxy-frontend/nginx.conf 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; + } + } +}