add nginx.conf for preview on mac
This commit is contained in:
parent
36623c6373
commit
58e8a6a69d
1 changed files with 14 additions and 0 deletions
14
nginx.conf
Normal file
14
nginx.conf
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
server {
|
||||
listen 80;
|
||||
server_name localhost;
|
||||
|
||||
location / {
|
||||
root /antora/public;
|
||||
index index.html index.htm;
|
||||
}
|
||||
|
||||
error_page 500 502 503 504 /50x.html;
|
||||
location = /50x.html {
|
||||
root /usr/share/nginx/html;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue