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

amazon web services - S3 and apache mod_proxy with basic authentication -

How to install ruby on rails -

powershell - This solution contains one or more assemblies targeted for the global assembly cache -