容器技术交流

 找回密码
 立即注册
查看: 2721|回复: 3

如何更改famp的管理端口??

[复制链接]
发表于 2009-5-4 11:39:30 | 显示全部楼层 |阅读模式
就是ip:8888
这个, 毕竟安全做再多都不闲多
怎么更改这个端口为别的端口呢?
发表于 2009-5-4 11:40:43 | 显示全部楼层
更改/usr/local/nginx_famp/conf/nginx.conf中的8888便可
 楼主| 发表于 2009-5-4 11:53:10 | 显示全部楼层
那个文件里面没8888端口
  1. user nobody;
  2. worker_processes 4;

  3. #error_log logs/error.log;
  4. #error_log logs/error.log notice;
  5. #error_log logs/error.log info;

  6. #pid logs/nginx.pid;

  7. events {
  8. worker_connections 2048;
  9. }

  10. http {
  11. include mime.types;
  12. default_type application/octet-stream;

  13. #log_format main '$remote_addr - $remote_user [$time_local] $request '
  14. # '"$status" $body_bytes_sent "$http_referer" '
  15. # '"$http_user_agent" "$http_x_forwarded_for"';

  16. access_log /dev/null combined;
  17. #access_log logs/access.log main;

  18. sendfile on;
  19. #tcp_nopush on;

  20. #keepalive_timeout 0;
  21. keepalive_timeout 65;

  22. server_names_hash_bucket_size 128;

  23. client_max_body_size 600M;

  24. gzip on;

  25. include vhost.conf;

  26. }
复制代码
发表于 2009-5-4 12:09:04 | 显示全部楼层
我记错了
是/usr/local/nginx_famp/conf/vhost.conf
呵,放到虚拟机里去了,忘了
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Archiver|URLOS ( 粤ICP备18087780号 )

GMT+8, 2024-4-30 07:20 , Processed in 0.031349 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表