21 lines
531 B
Text
21 lines
531 B
Text
![]() |
# /etc/nginx/sites-availible/riot
|
||
|
# Ce fichier est géré par ansible
|
||
|
server {
|
||
|
listen 80;
|
||
|
listen [::]:80;
|
||
|
|
||
|
root /opt/Riot/resources/webapp/;
|
||
|
index index.html;
|
||
|
|
||
|
access_log /var/log/nginx/riot-access.log;
|
||
|
error_log /var/log/nginx/riot-errors.log;
|
||
|
|
||
|
add_header X-Content-Type-Options nosniff;
|
||
|
add_header X-XSS-Protection "1; mode=block";
|
||
|
add_header X-Frame-Options "SAMEORIGIN" always;
|
||
|
|
||
|
location / {
|
||
|
try_files $uri $uri/ =404;
|
||
|
}
|
||
|
}
|