You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
}
my server ip in the docker container is 172.17.0.3, port 8080. I have set pathMapping to "/swagger" in the SwaggerConfig Could you help me for this, thanks.
The text was updated successfully, but these errors were encountered:
Hi sir, it works locally(http://localhost:8080/swagger-ui/index.html#/), but not works in server. There are my config
user nginx;
worker_processes auto;
error_log /var/log/nginx/error.log notice;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
access_log /var/log/nginx/access.log;
server {
listen 80;
location /swagger/ {
proxy_pass http://172.17.0.3:8080/swagger-ui/index.html;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}
}
my server ip in the docker container is 172.17.0.3, port 8080. I have set pathMapping to "/swagger" in the SwaggerConfig Could you help me for this, thanks.
The text was updated successfully, but these errors were encountered: