Change nip.io Hostname
Hexadecimal-encoded nip.io URIs are not resolving https://github.com/exentriquesolutions/nip.io/issues/56
This commit is contained in:
@@ -4,8 +4,8 @@ This sample by default uses Docker to stand up two sample IdPs, each with one as
|
||||
This allows you to explore different arrangements between multiple relying parties and asserting parties.
|
||||
|
||||
To ensure that there are no issues with sharing cookies between the Identity Provider and Service Provider applications, the application uses `nip.io` hostnames.
|
||||
The first identity provider can be reached by navigating to `http://idp-one.7f000001.nip.io`.
|
||||
The second identity provider can be reached by navigating to `http://idp-two.7f000001.nip.io`.
|
||||
The first identity provider can be reached by navigating to `http://idp-one.127-0-0-1.nip.io`.
|
||||
The second identity provider can be reached by navigating to `http://idp-two.127-0-0-1.nip.io`.
|
||||
|
||||
To change how the IdP is configured, you can go to the sibling `identity-provider` project and edit the following files:
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
services:
|
||||
idp-one.7f000001.nip.io:
|
||||
idp-one.127-0-0-1.nip.io:
|
||||
image: kristophjunge/test-saml-idp:1.15
|
||||
volumes:
|
||||
- ./metadata/authsources.php:/var/www/simplesamlphp/config/authsources.php
|
||||
@@ -7,7 +7,7 @@ services:
|
||||
environment:
|
||||
- PORT=${SERVER_PORT:-8080}
|
||||
|
||||
idp-two.7f000001.nip.io:
|
||||
idp-two.127-0-0-1.nip.io:
|
||||
image: kristophjunge/test-saml-idp:1.15
|
||||
volumes:
|
||||
- ./metadata/authsources.php:/var/www/simplesamlphp/config/authsources.php
|
||||
@@ -18,8 +18,8 @@ services:
|
||||
nginx:
|
||||
image: nginx:stable
|
||||
links:
|
||||
- idp-one.7f000001.nip.io
|
||||
- idp-two.7f000001.nip.io
|
||||
- idp-one.127-0-0-1.nip.io
|
||||
- idp-two.127-0-0-1.nip.io
|
||||
volumes:
|
||||
- ./nginx:/etc/nginx:ro
|
||||
ports:
|
||||
|
||||
@@ -6,21 +6,21 @@ http {
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name idp-two.7f000001.nip.io;
|
||||
server_name idp-two.127-0-0-1.nip.io;
|
||||
|
||||
location / {
|
||||
proxy_pass http://idp-two.7f000001.nip.io:8080;
|
||||
proxy_set_header Host idp-two.7f000001.nip.io;
|
||||
proxy_pass http://idp-two.127-0-0-1.nip.io:8080;
|
||||
proxy_set_header Host idp-two.127-0-0-1.nip.io;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name idp-one.7f000001.nip.io;
|
||||
server_name idp-one.127-0-0-1.nip.io;
|
||||
|
||||
location / {
|
||||
proxy_pass http://idp-one.7f000001.nip.io:8080;
|
||||
proxy_set_header Host idp-one.7f000001.nip.io;
|
||||
proxy_pass http://idp-one.127-0-0-1.nip.io:8080;
|
||||
proxy_set_header Host idp-one.127-0-0-1.nip.io;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user