You could add a virtual host for app.example.com that listens on port 80 then proxy pass all requests to flask:
server {
listen 80;
server_name app.example.com;
location / {
proxy_pass http://localhost:8142;
}
}
You could add a virtual host for app.example.com that listens on port 80 then proxy pass all requests to flask:
server {
listen 80;
server_name app.example.com;
location / {
proxy_pass http://localhost:8142;
}
}