File tree Expand file tree Collapse file tree 3 files changed +1
-6
lines changed Expand file tree Collapse file tree 3 files changed +1
-6
lines changed Original file line number Diff line number Diff line change 11option_settings:
22 aws:elasticbeanstalk:container:python:
33 WSGIPath: application:application
4- aws:elasticbeanstalk:application:environment:
5- PORT: "8000"
6- aws:elasticbeanstalk:environment:proxy:
7- ProxyServer: nginx
Original file line number Diff line number Diff line change 1- web : gunicorn -w 4 -k uvicorn.workers.UvicornWorker application:application --bind 0.0.0.0:8000
1+ web : gunicorn application:application --bind 0.0.0.0:8000 -k uvicorn.workers.UvicornWorker
Original file line number Diff line number Diff line change 22from fastapi .middleware .cors import CORSMiddleware
33from backend .app .main import app
44
5- # Update the application instance name to match the EB configuration
65application = app
76
87# Add CORS middleware
You can’t perform that action at this time.
0 commit comments