Open asyahana opened 2 years ago
@asyahana
Just change the port settings of nginx
in docker-compose.yml
:)
hostname: nginx
ports:
- - "8080:8080"
+ - "8081:8080"
- "29418:29418"
Thanks a lot. I've tried it, but the URL redirected after logging in o Gitbucket is 8080. (However, it seems that you can log in, and you can access it with 8081.)
@asyahana How about belows?
hostname: nginx
ports:
- - "8080:8080"
+ - "8081:8081"
- "29418:29418"
server {
- listen 8080;
+ listen 8081;
server_name gitbucket;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
If I want to be able to access on 8081 instead of port 8080, should I replace all 8080 parts with 8081?