diff options
| author | Mathias Magnusson <mathias@magnusson.space> | 2025-09-23 00:07:35 +0200 |
|---|---|---|
| committer | Mathias Magnusson <mathias@magnusson.space> | 2025-09-23 00:07:35 +0200 |
| commit | c70851504652267c95194a98756c6875271cdda7 (patch) | |
| tree | 2c7cd22ad17567e907d36ccf76d7fcad6073a6e1 /nginx.conf | |
| parent | a2827963fbf6847166360be635c65dc85d20dd0d (diff) | |
| download | traedgaardstomten-c70851504652267c95194a98756c6875271cdda7.tar.gz | |
Implement reviews
Diffstat (limited to 'nginx.conf')
| -rw-r--r-- | nginx.conf | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -5,9 +5,10 @@ server { } server { - listen 8009; + listen 8009 default_server; server_name xn--trdgrdstomten-cfbr.se; root /var/www/trädgårdstomten/public; + rewrite ^/([^/]+/)*[^.]+[^/]$ $http_x_forwarded_proto://$host$request_uri/ permanent; set_real_ip_from 127.0.0.1/8; gzip on; default_type "text/html"; |
