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:
parent
4caebbda90
commit
ccff5b30e1
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue