exchange landing: intro page + nginx :9014
This commit is contained in:
parent
a3334dbcf8
commit
dd4a984912
3 changed files with 398 additions and 0 deletions
24
configs/exchange-landing/nginx-landing.conf
Normal file
24
configs/exchange-landing/nginx-landing.conf
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
# Exchange landing — :9014 (behind Caddy — no port in Location)
|
||||
server {
|
||||
listen 9014;
|
||||
listen [::]:9014;
|
||||
server_name exchange.hacktivism.ch _;
|
||||
root /var/www/exchange-landing;
|
||||
index index.html;
|
||||
|
||||
absolute_redirect off;
|
||||
port_in_redirect off;
|
||||
|
||||
location = / {
|
||||
return 302 /intro/;
|
||||
}
|
||||
location = /intro {
|
||||
return 302 /intro/;
|
||||
}
|
||||
location /intro/ {
|
||||
alias /var/www/exchange-landing/;
|
||||
}
|
||||
location / {
|
||||
try_files $uri $uri/ =404;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue