Framework pour créer son site web en 2 minutes, et en Markdown!
https://www.gregandev.fr
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
753 B
29 lines
753 B
# HTTP
|
|
server {
|
|
listen 80;
|
|
listen [::]:80;
|
|
|
|
server_name localhost;
|
|
|
|
client_max_body_size 64M;
|
|
|
|
# Redirection HTTP -> HTTPS
|
|
#return 301 https://$host$request_uri;
|
|
|
|
location / {
|
|
root /var/www/html/;
|
|
index index.html;
|
|
# proxy_buffering off;
|
|
# proxy_redirect off;
|
|
# proxy_set_header Host $host;
|
|
# proxy_set_header X-Real-IP $remote_addr;
|
|
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
# proxy_set_header X-Forwarded-Host $server_name;
|
|
# proxy_set_header X-Forwarded-Proto $scheme;
|
|
# proxy_pass http://127.0.0.1:6060;
|
|
}
|
|
# Nécessaire pour les redirections internes à Hugo
|
|
location /feed {
|
|
return 302 https://example.com/index.xml;
|
|
}
|
|
}
|
|
|