title: How to setup nginx in front of node in docker for Cloud Run?
body: <p>I need to setup reverse proxy nginx in front of nodejs app that need to be deployed in google cloud run.</p>
  
  <p>Use Cases
  - Need to serve assets gzipped via nginx (I don't want to overhead node for gzip compression)
  - To block small DDOS attacks</p>
  
  <p>I didn't find any tutorial to setup nginx and node in cloud run.</p>
  
  <p>Also I need to install PM2 to for node.</p>
  
  <p>How to do this setup in docker? also how can I configure nginx before deploying?</p>
  
  <p>Thanks in advance</p>