]> git.parisson.com Git - telemeta.git/commitdiff
add PMA own port
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Wed, 23 Dec 2015 00:33:36 +0000 (01:33 +0100)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Wed, 23 Dec 2015 00:33:36 +0000 (01:33 +0100)
app/deploy/nginx-app.conf
docker-compose.yml

index bbe8f494173163a5bf89adad6113237caa909e48..2316b96703a9bfcaf8a35b9e49c8bcdebaf33325 100644 (file)
@@ -24,6 +24,10 @@ server {
        location /phpmyadmin/ {
             proxy_pass http://phpmyadmin/;
             proxy_set_header Host $http_host;
+            #proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
+            #proxy_set_header X-Forwarded-Server $http_host;
+            #proxy_redirect default;
+            #proxy_cookie_path / /phpmyadmin/;
        }
 
        location / {
index 65c4b0b8eff31efbba4803d4afc82b2cdf9ceac8..ab328d38bd48f19ecbe7703de36efa1d6c0eed63 100644 (file)
@@ -90,6 +90,7 @@ nginx:
 
 phpmyadmin:
     image: nazarpc/phpmyadmin
+    ports:
+      - "1234:80"
     links:
       - db:mysql
-