mirror of
https://github.com/nodew/haskell-realworld-example.git
synced 2024-08-16 20:20:23 +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>;
|
|
}
|
|
}
|