Created
May 14, 2017 16:54
-
-
Save htuscher/78bce01aefc4a65c1ffd337872f3f01f to your computer and use it in GitHub Desktop.
Webdevops FastCGI params
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
| # etc/nginx/vhost.common.d/10-php.conf | |
| location ~ \.php$ { | |
| fastcgi_split_path_info ^(.+\.php)(/.+)$; | |
| fastcgi_pass php; | |
| include fastcgi_params; | |
| fastcgi_param SCRIPT_FILENAME $request_filename; | |
| fastcgi_read_timeout 1000; | |
| <FOO_BAR> | |
| } |
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
| # provision-bin/service.d/nginx.d/12-foo-bar.sh | |
| go-replace \ | |
| -s "<FOO_BAR>" \ | |
| -r "$FOO_BAR" \ | |
| --path=/opt/docker/etc/nginx/ \ | |
| --path-pattern='*.conf' \ | |
| --ignore-empty |
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
| FROM webdevops/php-nginx:ubuntu-16.04 | |
| ENV FOO_BAR "" | |
| COPY provision-bin/ /opt/docker/bin/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment