Mysql 在gitlab CE捆绑服务器上安装phpmyadmin
我已经在我的服务器Ubuntu14.04VPS上安装了我的gitlab CE(假设我的域是Mysql 在gitlab CE捆绑服务器上安装phpmyadmin,mysql,git,nginx,phpmyadmin,gitlab,Mysql,Git,Nginx,Phpmyadmin,Gitlab,我已经在我的服务器Ubuntu14.04VPS上安装了我的gitlab CE(假设我的域是git.domain.com),并且运行得很好。Gitlab使用他们自己的nginx(端口80)和postgresql(端口5432) 我想对mysql数据库服务器使用相同的框。现在mysql在端口3306上运行良好 问题是,如果我安装phpmyadmin,我应该在哪里调整,以便可以访问git.domain.com/phpmyadmin?您可以使用代理权限。假设您知道phpmyadmin的端口号。比如说90
git.domain.com
),并且运行得很好。Gitlab使用他们自己的nginx(端口80)和postgresql(端口5432)
我想对mysql数据库服务器使用相同的框。现在mysql在端口3306上运行良好
问题是,如果我安装phpmyadmin,我应该在哪里调整,以便可以访问
git.domain.com/phpmyadmin
?您可以使用代理权限。假设您知道phpmyadmin的端口号。比如说9000端口
然后您可以在/site enabled/server {
.... where this you listen to port 80, with server git.domain.com
...
location /phpmyadmin/ {
proxy_pass http://127.0.0.1:9000/$uri;
}
}
你可以使用代理通行证。假设您知道phpmyadmin的端口号。比如说9000端口 然后您可以在/site enabled/
server {
.... where this you listen to port 80, with server git.domain.com
...
location /phpmyadmin/ {
proxy_pass http://127.0.0.1:9000/$uri;
}
}