Create nginx.conf
This commit is contained in:
parent
a45bd9f63e
commit
94b0e9f6db
23
proxy-frontend/nginx.conf
Normal file
23
proxy-frontend/nginx.conf
Normal file
@ -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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user