Comments (7)
Good suggestion, i will think about this.
from app-service-quickstart-docker-images.
Itβs probably a bit more complex than I initially suggested. The /home/site/nginx-conf.d/ solution would probably suffice for global configuration customizations. But if I also want to customize the site configuration (like in my example of white listing the wp-admin path) the original site configuration needs an include (example: https://serverfault.com/a/707963). This include would need to point a folder containing site customizations. Perhaps something like /home/site/nginx-site-conf.d/
Anyway, just giving you some food for thought @LeonZhang77 :)
from app-service-quickstart-docker-images.
just pushed image: appsvcorg/wordpress-alpine-php:0.7, could you please have a try?
Readme: https://github.com/Azure/app-service-quickstart-docker-images/tree/master/wordpress-alpine-php/0.7
How to update config files of nginx
- Go to "/etc/nginx", update config files as your wish.
- Reload by below cmd:
/usr/sbin/nginx -s reload
from app-service-quickstart-docker-images.
Would this survive a Docker Restart
? I'm trying to modify the nginx.conf file to allow CORS of certain files and after restarting the web app in Azure, the equivalent of Docker Restart my conf file is set back to the original form
from app-service-quickstart-docker-images.
yes, this is by design. everything will be restored after restart except /home.
good point, i will think what i can do.
from app-service-quickstart-docker-images.
@jstawski , appsvcorg/wordpress-alpine-php:0.7 is built and pushed again, please have a try. nginx conf files should not be overwrite by restart.
from app-service-quickstart-docker-images.
it worked!
from app-service-quickstart-docker-images.
Related Issues (20)
- [email protected]: bad watch-php-fpm.sh causes downtime HOT 7
- PHP and NGINX update HOT 3
- Unable to upgrade Drupal from current 8.7.2 to 8.8 using composer HOT 1
- editing d.conf to block wp-admin is ephemeral HOT 2
- wordpress-alpine-php Missing recommended PHP Modules HOT 2
- TLS connection to MySQL should be enabled by default.
- php.ini & max_input_vars, php memory limit etc..
- incorrect symlink? HOT 1
- Updates? Way out of date and still used to create php instances on app services with containers.
- Update request HOT 1
- building image from Dockerfile is failing
- Getting 500 error when WEBSITES_ENABLE_APP_SERVICE_STORAGE=true HOT 1
- wordpress-alpine-php 0.9.3 rewriting nginx HOT 1
- This repo is missing important files HOT 1
- PHP 7.4 Support HOT 2
- PHP 7.4 Supported Image
- Add Multisite option for Nginx HOT 1
- /home/site/wwwroot is overwritten when modified by startup.sh HOT 1
- Add optional PHP module 'intl'
- Update PHP to 8.2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from app-service-quickstart-docker-images.