45 lines
890 B
Nginx Configuration File
45 lines
890 B
Nginx Configuration File
daemon off;
|
|
#error_log /tmp/gavle-error.log;
|
|
pid /dev/null;
|
|
|
|
|
|
include /etc/nginx/modules-enabled/*.conf;
|
|
|
|
events {
|
|
worker_connections 768;
|
|
}
|
|
|
|
http {
|
|
sendfile on;
|
|
tcp_nopush on;
|
|
types_hash_max_size 2048;
|
|
|
|
resolver 10.0.0.2 [fd45:ae2e:e260:101::] valid=30s;
|
|
|
|
|
|
include /etc/nginx/mime.types;
|
|
default_type application/octet-stream;
|
|
|
|
access_log /dev/stdout;
|
|
|
|
server {
|
|
listen 8000 ssl default_server;
|
|
ssl_certificate /etc/ssl/certs/ssl-cert-snakeoil.pem;
|
|
ssl_certificate_key /etc/ssl/private/ssl-cert-snakeoil.key;
|
|
ssl_protocols TLSv1.2 TLSv1.3;
|
|
ssl_ciphers HIGH:!aNULL:!MD5;
|
|
|
|
root /home/lol/dernier-metro;
|
|
|
|
location / {
|
|
proxy_ssl_server_name on;
|
|
proxy_buffering off;
|
|
proxy_pass https://carte-interactive.tcl.fr/;
|
|
}
|
|
|
|
location /lol {
|
|
root /home/lol/dernier-metro;
|
|
}
|
|
}
|
|
}
|