updated nginx.conf and default.conf
Build and Push Alpine NGINX Image to docker.io Registry / Build and push image (root user) (push) Successful in 48s Details
Build and Push Alpine NGINX Image to docker.io Registry / Build and push image (rootless) (push) Successful in 51s Details
Build and Push Alpine NodeJS Image to Winter Access Registry / Build and push image (Root User) (push) Successful in 12s Details
Build and Push Alpine NodeJS Image to Winter Access Registry / Build and push image (rootless) (push) Successful in 13s Details

This commit is contained in:
Aditya Prima 2024-07-23 18:57:26 +07:00
parent 1414ac3cd4
commit 0a55c3af5c
2 changed files with 4 additions and 2 deletions

View File

@ -6,8 +6,10 @@ server {
root /app; root /app;
index index.html; index index.html;
error_log stderr warn;
location / { location / {
try_files $uri $uri/ =404; try_files $uri $uri/ index.html;
} }
location ~* .(jpg|jpeg|png|gif|ico|css|js)$ { location ~* .(jpg|jpeg|png|gif|ico|css|js)$ {

View File

@ -10,7 +10,7 @@ worker_rlimit_nofile 100000;
# Set log to stderr # Set log to stderr
error_log stderr warn; error_log stderr warn;
pid /var/run/nginx.pid; pid /var/run/nginx/nginx.pid;
include /etc/nginx/modules/*.conf; include /etc/nginx/modules/*.conf;