1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

/etc/nginx/server.conf: Dynamically set 'server_name ;' (e.g. box.lan) for HTTP_REFERER

This commit is contained in:
root 2021-08-10 14:02:26 -04:00
parent 4caebbda90
commit ccff5b30e1

View file

@ -1,6 +1,8 @@
server {
root {{ doc_root }};
server_name {{ iiab_hostname }};
server_name $hostname; # e.g. box.lan, set dynamically when NGINX starts
#server_name {{ iiab_hostname }}.{{ iiab_domain }};
#server_name {{ iiab_hostname }}
listen 80;
index index.php index.html index.htm;