Questions tagged [openlitespeed]
90 questions
2
votes
0 answers
Problem with publication Next js project on Digital Ocean droplet
I'm trying to run Next js application on my Digital Ocean Droplet (with OpenLiteSpeed).
I have start.js file with the following content:
const { createServer } = require('http')
const { parse } = require('url')
const next = require('next')
const…

Dmitry Kotikov
- 37
- 8
2
votes
0 answers
Downloading files dynamically using PHP is slow
I have a PHP script like this running on PHP-fpm 7.3:

Patira
- 65
- 2
- 9
2
votes
1 answer
How to deploy next JS app on domain with VPS server/openlitespeed
I'm trying to learn next.js and I'm really struggling working out how to deploy it on my VPS as I'm not used to running a site where there is no index.html. I've been trying to research it for the best part of a week and it's driving me a bit…

Ben McDonald
- 21
- 1
- 3
2
votes
0 answers
Host an Angular app in OpenLiteSpee Web Server
I am trying to host my angular app into my OpenLiteSpeed but I am not getting anything.
To create the app for production I use: ng build --prod, automatically it creates all the files I need in the dist folder.
Next, I move all these files to my…

Wilmer13194
- 21
- 2
1
vote
1 answer
Django: Problems with Fileresponse in production
Django: Fileresponse works fine in local but it doesnt in deployment
In local i did this
@login_required
@permission_required('plataforma.ADMIN', raise_exception=True)
def admin_descargar_planilla(request,plantilla_id):
try:
plantilla =…

Snorlax Russo
- 11
- 1
1
vote
1 answer
Wordpress Rewrite Page Parameters
I have downloading page:
https://example.com/preview-and-download/?key=123456789
And I want user browser as: https://example.com/preview-and-download/123456789
I Use Wordpress with OpenLitespeed
I use this function but it not work,
add_filter(…

Thanh Trần
- 11
- 1
1
vote
0 answers
How to solve mismatching file owner UID between host and container in a development team?
My setup
Windows 11
WSL2
Docker Desktop v4.14.0 using WSL based engine
Known facts
With file permission, the numeric user id counts
OpenLitespeed Docker image uses UID 999
Use case
We have a project where we use Openlitespeed Docker image. The…

jgangso
- 638
- 10
- 19
1
vote
1 answer
How redirect URL to to file In Cyberpanel and OpenLitespeed
How can I redirect URL to to file In Cyberpanel and OpenLitespeed?
dl.mydomain.com/vid to mydomain.com/myfile.zip
I used this code inside /vide directory, but is not working
RewriteEngine on
RewriteCond %{HTTP_HOST} ^dl\.mydomain\.com$…

AmiR HN
- 45
- 1
- 6
1
vote
0 answers
Problem in deploying Django website on Cyber Panel
I have deployed the Django website on openlite server and cyberpanel. According to the documentation of the cyberpanel, there is no requirement to run the server manually. The default page of cyberpanel will be removed automatically once the Django…

Jarvis
- 58
- 5
1
vote
1 answer
Can't get php.ini to output error_log (Wordpress, Debian, OpenLiteSpeed)
After realizing I get an "Error 500" when updating/publishing a page (post.php), I checked if I had logs.
display_logs was Off in my php.ini file (Found with php --ini)
I checked on the OLS docs here:…

Gary Oak
- 111
- 7
1
vote
0 answers
Slow Litespeed container in docker
I installed on my computer ols-docker-env container in docker for developing wordpress/woocommerce sites on localhost. Everything works fine, but there is one problem - when I reload page it takes about 5-10 second or longer. Sometimes it's throwing…

Daniel Cholewski
- 51
- 5
1
vote
0 answers
Images Styles are not created in public directory in Drupal 9 with openlitespeed server
I've moved recently my drupal 9 website from nginx webserver to openlitespeed.
The website was working as expected, but now it is not. I've defined a rule when uploading a new image, it should be converted to webp.
When you try to select an image,…

danplaton4
- 119
- 2
- 14
1
vote
1 answer
Redirect php id Properly with .htaccess OpenLiteSpeed Server
i am new to .htaccess usage and tried to learn through online resources but however i write it the rules negate each other and am having a hard time writing a good enough .htaccess file below is my current .htaccess file which works fine for some…

Zack Snyder
- 61
- 8
1
vote
1 answer
Openlitespeed - Unable to load static files in production
I am using a ubuntu server with openlite speed and cyberpanel.
I have successfully deployed my app but regarding the static files, the browser throughs an error saying 'refused to load as its MIME type....',
I have tried to include my static files…

Faizi
- 11
- 1
1
vote
1 answer
Get real ip with Openlitespeed as webserver with a reverse proxy in front of our Openlitespeed webservers
My issue is that I can get the real IP address from the client when I am using the openlitespeed webserver with a reversed proxy in front of my openlitespeed serveres.
We have the ssl termination on the openlitespeed web serveres and NOT on the…

Christian
- 57
- 2