Add Dokploy Docker deployment
Some checks are pending
Deploy to Netlify / deploy (push) Waiting to run
Some checks are pending
Deploy to Netlify / deploy (push) Waiting to run
This commit is contained in:
parent
6334dadf92
commit
18472ac6b0
4 changed files with 55 additions and 0 deletions
24
deploy/nginx.conf
Normal file
24
deploy/nginx.conf
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
server {
|
||||
listen 80 default_server;
|
||||
server_name micro.neeldhara.blog micro.neeldhara.email _;
|
||||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
|
||||
access_log /var/log/nginx/access.log;
|
||||
error_log /var/log/nginx/error.log warn;
|
||||
|
||||
location = /nginx-health {
|
||||
access_log off;
|
||||
return 204;
|
||||
}
|
||||
|
||||
location ~* \.(?:css|js|mjs|png|jpg|jpeg|gif|svg|webp|ico|woff2?)$ {
|
||||
try_files $uri =404;
|
||||
expires 1y;
|
||||
add_header Cache-Control "public, immutable";
|
||||
}
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/index.html /index.html /404.html;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue