diff options
| author | saturneric <[email protected]> | 2025-07-05 17:41:55 +0000 | 
|---|---|---|
| committer | saturneric <[email protected]> | 2025-07-05 17:41:55 +0000 | 
| commit | 7d4c7af84c5c4a1c986e1c957c718c97dd96ea51 (patch) | |
| tree | f8bd69dd759e9f557cd4d498e6a3559ce853e360 /nginx/nginx.conf | |
| parent | refactor(docker): improve Dockerfile structure and nginx configuration (diff) | |
| download | Manual-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/nginx.conf')
| -rw-r--r-- | nginx/nginx.conf | 17 | 
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 | 
