Nginx config customization on App Engine Flex custom runtime
1,881 views
Skip to first unread message
Dong Ngo Hung
unread,
May 10, 2021, 10:23:52 AM5/10/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google App Engine
Hello everyone,
Is it possible to customize the nginx.conf for app engine flex custom runtime? I see that PHP runtime does support customize it through nginx-app.conf but couldn't find one for the custom runtime.
Thank you.
wokmou
unread,
May 11, 2021, 12:32:03 PM5/11/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google App Engine
Appengine flex by default also includes an nginx.conf file, which contains the basic nginx configuration information, as well was the index.html file, which serves as the root page for the nginx web server. This [1] will show you how to build Custom Runtimes in the App Engine Flexible Environment and Customize NGINX[2].
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google App Engine
Hi wokmou,
As of [1], we would like to customize the nginx configuration in the VM instance, not inside our container as our container doesn't include nginx. We are looking for something like [2] but for custom runtime instead of PHP.
Thank you.
Anton Lage Magri
unread,
May 28, 2021, 10:42:02 AM5/28/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google App Engine
Hello,
Do you want to customize the nginx of the instance or the nginx proxy container that will manage your app? When you create an App engine it creates different dockers that manages all the needs of your App [1].
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google App Engine
If you want to use a custom runtime and customize Nginx, maybe your use case is more suitable for Cloud Run than App Engine. In Cloud Run you have more flexibility to configure runtime than in App Engine and can use any coding language you wish. You can check this community tutorial [1] for the steps required for this.