I have /pub as document root (as recommended) and this always seems to get me into trouble.
Some extensions use https://www.example.com/pub/media/catalog/product/... as URL to images for example. This is acually the real path to the image files, but the working URL should be: https://www.example.com/media/catalog/product/...
So could I create a symlink /pub/pub that points to /pub to solve this?