• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Serve static content from /home directory

Stefano#7366

New Pleskian
Hello there!

Bare with me as I'm new to Plesk, and setting something up for a client.
Currently we've got a problem where we want to serve the static content for a Django/Python application through a apache config.

The problem we're getting however, is the static content not showing up at all.

1600509745627.png
The broken image is the static content, and it resides in "domain.com/static/assets/images/white_logo.png".

The current config we're using in the apache and nginx settings menu is:
Apache config:
ServerName shop.visengaming.com
ServerAlias www.shop.visengaming.com
DocumentRoot /home/donationstore/env
ServerAdmin webmaster@store.visengaming.com
UseCanonicalName Off

# Donation Store
ProxyPass /static/ !
ProxyPass / http://135.181.2.162:8000/
Alias /static/ /home/donationstore/env/static/
 
Nevermind, issue has been solved:
Config used:

Code:
DocumentRoot /home/donationstore/env
ServerAdmin webmaster@store.visengaming.com
UseCanonicalName Off

# Donation Store
ProxyPass /static/ !
ProxyPass / http://IP:8000/
Alias /static/ /home/donationstore/env/static/

<Directory "/home/donationstore/env/static/">
        Options +Indexes +FollowSymLinks +ExecCGI
        AllowOverride All
                Order allow,deny
        Allow from all
        Require all granted
</Directory>

I had to add the override and directory because of the 403's
 
Back
Top