Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

The wordpress is been built on nginx ,the port is 8080 ,it can be visited at the form of
http://127.0.0.1:8080/wp/?p=4.
In my wordpress database:
select guid from wp_posts limit 2 ;
+-------------------------------+
| guid |
+-------------------------------+
| http://127.0.0.1:8080/wp/?p=4 |
| http://127.0.0.1:8080/wp/?p=8 |
+-------------------------------+
Now i want to change the port of nginx from 8080 into 80.
1.edit /etc/nginx/nginx.conf from
server {
listen 8080;
server_name localhost;
#irrelated content omitted
into
server {
listen 80;
server_name localhost;
2.edit /var/www/html/wp/wp-config.php
from
define('WP_SITEURL','http://localhost:8080/wp/');
define('WP_HOME','http://localhost:8080/wp/');
into
define('WP_SITEURL','http://localhost:80/wp/');
define('WP_HOME','http://localhost:80/wp/');
3.login into my wordpress database to execute the sql commands.
UPDATE wp_posts SET post_content = replace(post_content, 'http://127.0.0.1:8080/wp', 'http://127.0.0.1/wp');
UPDATE wp_options SET option_value = replace(option_value, 'http://127.0.0.1:8080/wp', 'http://127.0.0.1/wp');
UPDATE wp_posts SET guid = replace(guid, 'http://127.0.0.1:8080/wp', 'http://127.0.0.1/wp');
UPDATE wp_posts SET pinged = replace(pinged, 'http://127.0.0.1:8080/wp', 'http://127.0.0.1/wp');
update wp_options set option_value='http://localhost:80' where option_name='siteurl';
update wp_options set option_value='http://localhost:80' where option_name='home';
Now restart ngix.
service nginx restart
when i input http://127.0.0.1:80/wp/?p=4 in the browser.
http://i.stack.imgur.com/buZrc.png
Where the problem appear?
009fd274aeae48f2bfbda6ef568676
Cloudstream Apk
032f50ee7f7d489db3b05e204fe139
032f50ee7f7d489db3b05e204fe139
Edward Sitarski
ebeecroft
dashan
34bcef38725b4e6eb5224ae028f17e
markatango
gouskova