Comment 2 for bug 1244371

Revision history for this message
Marco Ceppi (marcoceppi) wrote :

If statements are terrible and unreliable Nginx constructs. I'll look for a better way to do rewrites in nginx and add it to the charm.

If you want to patch your version of the charm, you can edit the files in the deployed version of the charm by running `juju ssh wordpress/0`, from there, `sudoedit /var/lib/juju/agents/unit-wordpress-0/charm/files/charm/nginx/etc_nginx_sites-enabled_wordpress` and add that change to the template. That way it won't be overwritten when the charm processes events.