From 0ff19354721fb97091d05b06eb83f4a86ddfcf16 Mon Sep 17 00:00:00 2001 From: schererleander Date: Thu, 8 Aug 2024 13:22:23 +0200 Subject: feature: add docker-compose, nginx configuration --- nginx.conf | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 nginx.conf (limited to 'nginx.conf') diff --git a/nginx.conf b/nginx.conf new file mode 100644 index 0000000..6f59193 --- /dev/null +++ b/nginx.conf @@ -0,0 +1,20 @@ +server { + listen 80; + server_name schererleander.com; + + root /usr/share/nginx/html; + + location /404.hml { + internal; + } + + error_page 404 /404.html; + + location ~* \.(css|js)$ { + root /usr/share/nginx/html; + try_files $uri =404; + access_log off; + expires max; + } + +} -- cgit v1.3.1