Hi, i try make redirect from dev.mydomain.com/bitbucket on my Bitbucket.
I add DNS row for dev.domain.com.
I did complete all steps from: https://confluence.atlassian.com/bitbucketserver/securing-bitbucket-server-behind-nginx-using-ssl-776640112.html
server.port=7990
server.secure=true
server.scheme=http
server.proxy-port=80
server.proxy-name=dev.mydomain.com
server.context-path=/bitbucket
I tried change server.secure on "false", but this didn't help me.
My nginx/sites-enabled/default:
server {
listen 80;
server_name dev.mydomain.com;
location /bitbucket {
proxy_pass http://localhost:7990;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
proxy_redirect off;
}
}
I replace Base URL in Settings Page on:
http://dev.mydomain.com/bitbucket
After all steps I go on http://dev.mydomain.com/bitbucket and get error:
Use the links at the top to get back.
Did you install it as a service?
Try systemctl restart atlbitbucket
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.