Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
litespeed_wiki:other-ext-apps:django-web-framework-with-gunicornn [2017/08/30 12:10] Usman Nasir [Step 3: Setup Gunicorn!] |
litespeed_wiki:other-ext-apps:django-web-framework-with-gunicornn [2017/08/30 12:11] Usman Nasir [Step 6: Static Content!] |
||
---|---|---|---|
Line 173: | Line 173: | ||
</code> | </code> | ||
- | This will create a new folder ''static'' under ''/home/litespeed/public_html/djangoproject'', we can either use rewrite rules to move all requests for static content to this location or we can move this folder to the parent folder where Litespeed will actually look for the static file ''/home/litespeed/public_html'' | + | This will create a new folder ''static'' under ''/home/litespeed/public_html/djangoproject'', we can either use rewrite rules to move all requests for static content to this location or we can move this folder to the parent folder where Litespeed will actually look for the static files at ''/home/litespeed/public_html'' |
<code> | <code> | ||
Line 179: | Line 179: | ||
</code> | </code> | ||
- | This will move folder ''static'' to its parent folder, and litespeed can now easily serve static content. That's all you can now visit your domain and it should start service your Django project. | + | This will move folder ''static'' to its parent folder, and LiteSpeed can now easily serve static content. That's all you can now visit your domain and it should start service your Django project. |