aboutsummaryrefslogtreecommitdiffstats
path: root/nginx
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2025-07-05 17:41:55 +0000
committersaturneric <[email protected]>2025-07-05 17:41:55 +0000
commit7d4c7af84c5c4a1c986e1c957c718c97dd96ea51 (patch)
treef8bd69dd759e9f557cd4d498e6a3559ce853e360 /nginx
parentrefactor(docker): improve Dockerfile structure and nginx configuration (diff)
downloadManual-7d4c7af84c5c4a1c986e1c957c718c97dd96ea51.tar.gz
Manual-7d4c7af84c5c4a1c986e1c957c718c97dd96ea51.zip
feat(nginx): add initial nginx configuration
* Set up server to listen on port 80 * Define root directory and index files * Configure caching for static assets * Implement error handling for 404 pages
Diffstat (limited to 'nginx')
-rw-r--r--nginx/nginx.conf17
1 files changed, 0 insertions, 17 deletions
diff --git a/nginx/nginx.conf b/nginx/nginx.conf
deleted file mode 100644
index 822dd29..0000000
--- a/nginx/nginx.conf
+++ /dev/null
@@ -1,17 +0,0 @@
-server {
- listen 80;
- listen [::]:80;
- server_name _;
-
- root /usr/share/nginx/html;
- index index.html index.htm;
-
- location / {
- try_files $uri $uri/ /index.html;
- }
-
- error_page 404 /404.html;
- location = /404.html {
- internal;
- }
-} \ No newline at end of file