This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: myapp | |
| # Start with the Drupal 8 recipe | |
| recipe: drupal8 | |
| # Configure the D8 recipe to match up closer to a vanilla platform.sh stack | |
| config: | |
| # Lando defaults to Apache. Switch to nginx to match Platform.sh. | |
| via: nginx | |
| # Set the webroot to match .platform.app.yaml. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| location ~* ^.+\.(svg|svgz|jpg|jpeg|gif|png|ico|bmp)$ { | |
| try_files $uri @image_fallback; | |
| } | |
| location @image_fallback { | |
| proxy_pass http://{PROD}; | |
| } |