mars / create-react-app-buildpack

⚛️ Heroku Buildpack for create-react-app: static hosting for React.js web apps
MIT License
3.28k stars 653 forks source link

Where can I find/how can I edit nginx.config.erb? #194

Closed astewes closed 2 years ago

astewes commented 2 years ago

I recently deployed my React website to Heroku and am needing to edit nginx.config.erb. Where can I find this file and how can I make edits to it?

mars commented 2 years ago

Nginx config is not directly editable. The only Nginx modifications supported are through the static buildpack's static.json config file:

https://github.com/mars/create-react-app-buildpack/blob/master/README.md#web-server