mirror of
https://github.com/nodew/haskell-realworld-example.git
synced 2024-10-26 18:10:58 +03:00
15 lines
171 B
Nginx Configuration File
15 lines
171 B
Nginx Configuration File
|
server{
|
||
|
listen 80;
|
||
|
server_name _;
|
||
|
|
||
|
location / {
|
||
|
root /srv;
|
||
|
index index.html;
|
||
|
try_files $uri $uri/ /index.html;
|
||
|
}
|
||
|
|
||
|
location /api {
|
||
|
proxy_pass <upstream>;
|
||
|
}
|
||
|
}
|