Redirection tracker->phabricator + Chgt alt_file_domain tracker->trackerusercontent
This commit is contained in:
parent
60b1e7137c
commit
0ff96557bc
2 changed files with 22 additions and 3 deletions
19
Python/etc/nginx/sites-available/tracker
Normal file
19
Python/etc/nginx/sites-available/tracker
Normal file
|
@ -0,0 +1,19 @@
|
|||
# -*- mode: python; encoding: utf-8 -*-
|
||||
|
||||
info["owner"] = "root"
|
||||
info["group"] = "root"
|
||||
info["mode"] = 0644
|
||||
|
||||
comment_start = "#"
|
||||
|
||||
out("""server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
listen 443;
|
||||
listen [::]:443;
|
||||
server_name tracker tracker.crans.org;
|
||||
|
||||
return 301 https://phabricator.crans.org$request_uri;
|
||||
# On spécifie au client qu'il ne doit pas faire de HTTP ici
|
||||
add_header Strict-Transport-Security "max-age=31536000";
|
||||
}""")
|
Loading…
Add table
Add a link
Reference in a new issue