Hi Niphlod, I had to modify the script by removing:
sudo -u
This would work if the user I required to run it did not require a sudo
password, but I prefer all sudo actions to be authenticated.
Thank you again.
ed
On Tuesday, 3 September 2013 08:01:33 UTC+2, lbd wrote:
>
> Tha
Hi guys, I have my prod deployment of Ubuntu running nginx and in turn
web2py. Also thanks to Niphlod I have all HTTP req's rewritten to https
I have an rq implementation in our code and would like to call web2py-rq.py
or run sudo rqworker on the box. In my pre prod environment (no nginx) I
> server {
>listen 80;
>return 301 https://$host$request_uri;
> }
>
> On Thursday, August 29, 2013 10:15:43 AM UTC+2, lbd wrote:
>>
>> Hi all, I recently setup a site using the nginx web2py ubuntu script.
>> What I want to do is redirect all http traf
nt the server not to work on http but only in https, then you
> should have only one directive in the server block listeing to the 80 port:
> server {
>listen 80;
>return 301 https://$host$request_uri;
> }
>
> On Thursday, August 29, 2013 10:15:43 AM UTC+2, lbd wrot
Hi all, I recently setup a site using the nginx web2py ubuntu script. What
I want to do is redirect all http traffic to https. In order to do this I
tried modifying the /etc/nginx/sites-available/web2py script with a simple
rewrite rule:
server {
listen 80;
server_name
5 matches
Mail list logo