2020-11-05 15:35:56 +00:00
|
|
|
server {
|
2020-12-11 16:47:31 +00:00
|
|
|
listen ${SNIKKET_TWEAK_HTTP_PORT};
|
|
|
|
listen [::]:${SNIKKET_TWEAK_HTTP_PORT};
|
2020-11-05 15:35:56 +00:00
|
|
|
|
2020-12-11 16:47:31 +00:00
|
|
|
server_name ${SNIKKET_DOMAIN};
|
|
|
|
server_name groups.${SNIKKET_DOMAIN};
|
2020-11-05 15:35:56 +00:00
|
|
|
|
2021-01-29 16:20:55 +00:00
|
|
|
include "/etc/nginx/snippets/snikket-common.conf";
|
2020-11-05 15:35:56 +00:00
|
|
|
}
|
2021-01-22 23:00:18 +00:00
|
|
|
|
|
|
|
server {
|
|
|
|
listen ${SNIKKET_TWEAK_HTTP_PORT};
|
|
|
|
listen [::]:${SNIKKET_TWEAK_HTTP_PORT};
|
|
|
|
|
|
|
|
server_name share.${SNIKKET_DOMAIN};
|
|
|
|
|
|
|
|
location /upload/ {
|
|
|
|
proxy_pass http://localhost:${SNIKKET_TWEAK_INTERNAL_HTTP_PORT};
|
|
|
|
proxy_set_header Host $host;
|
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
|
proxy_set_header X-Forwarded-Proto https;
|
|
|
|
}
|
|
|
|
}
|