title: Serving Flask-RESTPlus on https server
body: <p>I am relatively new to python and I created a micro service using <a href="https://flask-restplus.readthedocs.io/en/stable/swagger.html" rel="noreferrer">flask-resplus</a>. 
  Works fine on my computer and on the dev server served with http. 
  I dont have control on where the microservice could be deployed. In these case it seems is behind a load balancer(not sure of details), served with https.</p>
  
  <p>The actual errors given by the browser: Can't read from server. It may not have the appropriate access-control-origin settings.</p>
  
  <p>When i check the network developer tools i see it fails loading swagger.json. But is checking it using:
  <a href="http://hostname/api/swagger.json" rel="noreferrer">http://hostname/api/swagger.json</a>, instead of https.</p>
  
  <p>I have been googling, and i ran into discussions of <a href="https://github.com/noirbizarre/flask-restplus/issues/54" rel="noreferrer">this</a> issue.
  And <a href="https://github.com/noirbizarre/flask-restplus/pull/128" rel="noreferrer">this</a> seemed to be the fix that could work without me having to change the library or configurations on the server.</p>
  
  <p>However still i couldnt get it to work.</p>
  
  <p>This is what i have:</p>
  
  <p>on the api file:</p>
  
  <pre><code>api_blueprint = Blueprint('api', __name__, url_prefix='/api')
  api = Api(api_blueprint, doc='/doc/', version='1.0', title='My api',
            description="My api")
  </code></pre>
  
  <p>on the main app file: </p>
  
  <pre><code>from flask import Flask
  from werkzeug.contrib.fixers import ProxyFix
  
  from lib.api import api_blueprint
  
  app = Flask(__name__)
  
  app.wsgi_app = ProxyFix(app.wsgi_app)
  app.register_blueprint(api_blueprint)
  </code></pre>
  
  <p>Also tried adding:</p>
  
  <pre><code>app.config['SERVER_URL'] = 'http://testfsdf.co.za' # but it dont look like is being considered
  </code></pre>
  
  <p>Using flask-restplus==0.9.2, </p>
  
  <p>Any solution will be appreciated, as long as i dont need to make configurations on the container where the service will be deployed 
  (am ok with setting environment variables), i.e. service need to be self contained. And if there is a version of flask-resplus that i can install with pip, that already has a fix i can appreciate.</p>
  
  <p>Thanks a lot guys,</p>