python - Change base url in django-tastypie-swagger -


i have django site running gunicorn on port 62022 , nginx running on port 62090. port open outside world 62090 (where nginx listen). problem django-tastypie-swagger thinks base url http://localhost:62022/ , can not make documentation api because url not respond.

is there way set base url whatever need instead?

try insert settings.py

swagger_settings = {     "base_path": 'localhost:62090/', } 

of course instead localhost insert domain


Comments

Popular posts from this blog

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -

YouTubePlayerFragment cannot be cast to android.support.v4.app.Fragment -