services:
proxy:
image: jwilder/nginx-proxy
ports:
- 0.0.0.0:80:80
- 0.0.0.0:443:443
volumes:
- /var/run/docker.sock:/tmp/docker.sock
- ./certs/:/etc/nginx/certs:ro
- ./jira-nginx.conf:/etc/nginx/vhost.d/jira.local.net
networks:
proxy:
aliases:
- "site.local.net"
➜ ~ curl -v http://darklorian.site:5000
* Rebuilt URL to: http://darklorian.site:5000/
* Trying 45.141.102.132...
* TCP_NODELAY set
* Connected to darklorian.site (45.141.102.132) port 5000 (#0)
> GET / HTTP/1.1
> Host: darklorian.site:5000
> User-Agent: curl/7.58.0
> Accept: */*
>
< HTTP/1.1 302 FOUND
< Server: gunicorn
< Date: Tue, 13 Apr 2021 04:27:33 GMT
< Connection: close
< Content-Type: text/html; charset=utf-8
< Content-Length: 219
< Location: http://darklorian.site:5000/login
<
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<title>Redirecting...</title>
<h1>Redirecting...</h1>
* Closing connection 0
<p>You should be redirected automatically to target URL: <a href="/login">/login</a>. If not click the link.%
➜ ~