mirror of
https://github.com/maciejpedzich/racemash.git
synced 2024-11-27 16:15:47 +01:00
Add location /images rule to serve photos
This commit is contained in:
parent
f846efc226
commit
a32dd4af6a
@ -3,6 +3,11 @@ server {
|
||||
server_name localhost;
|
||||
root /usr/share/nginx/html;
|
||||
index index.html index.htm;
|
||||
|
||||
location /images {
|
||||
root /usr/share/nginx/html/images;
|
||||
}
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user