11 lines
275 B
Plaintext
Executable File
11 lines
275 B
Plaintext
Executable File
# ./custom-nginx.conf (on your host)
|
|
server {
|
|
listen 80;
|
|
server_name localhost;
|
|
root /usr/share/nginx/html; # Path INSIDE the container where site files will be
|
|
index index.html;
|
|
|
|
location / {
|
|
try_files $uri $uri.html $uri/ =404;
|
|
}
|
|
} |