Browse Source

* minor changes - format location section and describe docker visualize graph in readme

master
dimti 1 year ago
parent
commit
a87fc51072
  1. 2
      config/nginx/conf.d/z-wordpress.conf.example
  2. 4
      src/README.md

2
config/nginx/conf.d/z-wordpress.conf.example

@ -9,7 +9,7 @@ server {
try_files $uri $uri/ /index.php?$args; try_files $uri $uri/ /index.php?$args;
} }
rewrite /wp-admin$ $scheme://$host$uri/ permanent; rewrite /wp-admin$ $scheme://$host$uri/ permanent;
location ~* ^/wp-content/uploads/.*$ {
location ~* ^/wp-content/uploads/.*$ {
expires max; expires max;
proxy_pass $uploads_upstream; proxy_pass $uploads_upstream;
} }

4
src/README.md

@ -32,8 +32,12 @@ For use visualization with `/usr/bin/dot`
### Containers ### Containers
This is not usefully, but if your externally needs...
`dockviz containers -d | dot -Tpng -o ~/containers.png` `dockviz containers -d | dot -Tpng -o ~/containers.png`
### Images ### Images
Proof technology
`dockviz images -d | dot -Tpng -o ~/images.png` `dockviz images -d | dot -Tpng -o ~/images.png`
Loading…
Cancel
Save