Vesta 2.0 is coming soon! See our progress update: https://vestacp.com/docs/vesta-2-update
Search found 10 matches
- Tue Aug 09, 2016 7:56 am
- Forum: Web Server
- Topic: nginx + php-fpm + magento
- Replies: 11
- Views: 66029
Re: nginx + php-fpm + magento
all i did is this http://i64.tinypic.com/2crnlme.png - choose wrodpress template in this section, i didnt edit nothing the config.
if i choose DEFAULT i get:
server {
listen IP:8082;
server_name user.mydomain.com www.user.mydomain.com;
root /home/myusername/web/user.mydomain.com/public_html ...
if i choose DEFAULT i get:
server {
listen IP:8082;
server_name user.mydomain.com www.user.mydomain.com;
root /home/myusername/web/user.mydomain.com/public_html ...
- Tue Aug 09, 2016 7:47 am
- Forum: Web Server
- Topic: nginx + php-fpm + magento
- Replies: 11
- Views: 66029
Re: nginx + php-fpm + magento
This is the template for wordpress
server {
listen IP:8082;
server_name user.mydomain.com http://www.user.mydomain.com;
root /home/myusername/web/user.mydomain.com/public_html;
index index.php index.html index.htm;
access_log /var/log/nginx/domains/user.mydomain.com.log combined;
access_log ...
server {
listen IP:8082;
server_name user.mydomain.com http://www.user.mydomain.com;
root /home/myusername/web/user.mydomain.com/public_html;
index index.php index.html index.htm;
access_log /var/log/nginx/domains/user.mydomain.com.log combined;
access_log ...
- Tue Aug 09, 2016 7:35 am
- Forum: Web Server
- Topic: nginx + php-fpm + magento
- Replies: 11
- Views: 66029
Re: nginx + php-fpm + magento
i have rebuilded the whole user and now templates work ok, but magento with index.php still doesnt work, ive tryed all templates.
- Tue Aug 09, 2016 7:14 am
- Forum: Web Server
- Topic: nginx + php-fpm + magento
- Replies: 11
- Views: 66029
Re: nginx + php-fpm + magento
strnage is, if i choose other template it doesnt take it, and when i try the configuration file with nginx -t i get:
nginx: [emerg] "location" directive is not allowed here in /home/USERNAME/conf/web/nginx.conf:48
nginx: configuration file /etc/nginx/nginx.conf test failed
nginx: [emerg] "location" directive is not allowed here in /home/USERNAME/conf/web/nginx.conf:48
nginx: configuration file /etc/nginx/nginx.conf test failed
- Tue Aug 09, 2016 6:29 am
- Forum: Web Server
- Topic: nginx + php-fpm + magento
- Replies: 11
- Views: 66029
Re: nginx + php-fpm + magento
No i dont have magento template... and i think there is an issue in configuration, does maybe staff know know to do it?
- Mon Aug 08, 2016 12:08 pm
- Forum: Web Server
- Topic: nginx + php-fpm + magento
- Replies: 11
- Views: 66029
nginx + php-fpm + magento
hi,
ive installed vestacp with nginx + php fpm. When i moved an old magento (1.9) website to this new vestacp server erverything works fine, the website opens, but when i click on a menu i get 404 not found in url i see domain.com/index.php/submenutitle and as i see the issue is with index.php
do ...
ive installed vestacp with nginx + php fpm. When i moved an old magento (1.9) website to this new vestacp server erverything works fine, the website opens, but when i click on a menu i get 404 not found in url i see domain.com/index.php/submenutitle and as i see the issue is with index.php
do ...
- Wed Dec 23, 2015 12:18 am
- Forum: Web Server
- Topic: strange behaviour
- Replies: 2
- Views: 3600
Re: strange behaviour
The problem is as i told:
i have: domain.com and enabled SSL
http://domain.com shows the content of > /home/user/web/domain.com/public_html
https://domain.com show the content of > /home/admin/web/defaultdomain/public_html
In apache logs i see that if i want to use https://domain.com/somescript ...
i have: domain.com and enabled SSL
http://domain.com shows the content of > /home/user/web/domain.com/public_html
https://domain.com show the content of > /home/admin/web/defaultdomain/public_html
In apache logs i see that if i want to use https://domain.com/somescript ...
- Tue Dec 22, 2015 1:51 pm
- Forum: Web Server
- Topic: strange behaviour
- Replies: 2
- Views: 3600
strange behaviour
hello all :)
i have some strange behaviour on my server... ive added domain for example: b1.domain.com and added SSL support, added all certificates and everything, vesta says it has saved and there is no error, but when i try http://b1.domain.com it works ok it goes to this domain public_html, but ...
i have some strange behaviour on my server... ive added domain for example: b1.domain.com and added SSL support, added all certificates and everything, vesta says it has saved and there is no error, but when i try http://b1.domain.com it works ok it goes to this domain public_html, but ...
- Thu Dec 03, 2015 11:15 pm
- Forum: 3rd Party Software
- Topic: How to Auto Change IP Address in VestaCP
- Replies: 39
- Views: 186837
Re: How to Auto Change IP Address in VestaCP
in my case i had to do this:
/etc/apache2/conf.d - rename OLDIP.conf to NEWIP.conf than edit NEWIP.conf and ranem old ip to new one.
/etc/iptables.rules - change this line: -A INPUT -s OLDIP /32 -j ACCEPT -> -A INPUT -s NEWIP /32 -j ACCEPT
after that i restarted apache and nginx and everything ...
/etc/apache2/conf.d - rename OLDIP.conf to NEWIP.conf than edit NEWIP.conf and ranem old ip to new one.
/etc/iptables.rules - change this line: -A INPUT -s OLDIP /32 -j ACCEPT -> -A INPUT -s NEWIP /32 -j ACCEPT
after that i restarted apache and nginx and everything ...
- Tue Dec 01, 2015 9:39 pm
- Forum: 3rd Party Software
- Topic: How to Auto Change IP Address in VestaCP
- Replies: 39
- Views: 186837
Re: How to Auto Change IP Address in VestaCP
hi, i have the same issue... i get:
2015/12/01 22:36:14 [error] 3075#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: MYIP, server: domainame.com, request: "GET /favicon.ico HTTP/1.1", upstream: "http://SERVERIP2:8080/favicon.ico", host: "DOMAINAME.COM ...
2015/12/01 22:36:14 [error] 3075#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: MYIP, server: domainame.com, request: "GET /favicon.ico HTTP/1.1", upstream: "http://SERVERIP2:8080/favicon.ico", host: "DOMAINAME.COM ...