We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cc3506 commit c504647Copy full SHA for c504647
modules/nginx/src/main/java/org/testcontainers/nginx/NginxContainer.java
@@ -27,4 +27,8 @@ public NginxContainer(final DockerImageName dockerImageName) {
27
public URL getBaseUrl(String scheme, int port) throws MalformedURLException {
28
return new URL(scheme + "://" + getHost() + ":" + getMappedPort(port));
29
}
30
+
31
+ public URL getBaseUrl(String scheme) throws MalformedURLException {
32
+ return getBaseUrl(scheme, NGINX_DEFAULT_PORT);
33
+ }
34
0 commit comments