Home > Operation and Maintenance > Nginx > How to set up nginx reverse proxy ftp server

How to set up nginx reverse proxy ftp server

WBOY
Release: 2023-05-17 09:31:18
forward
4902 people have browsed it

1. Install nginx

2. Install vsftpd

3. Modify nginx configuration file nginx.conf

 3.1 Add ftp user in the first line

 user ftpuser;

How to set up nginx reverse proxy ftp server

## 3.2 Configure related paths

 server {

  listen 80; #nginx proxy port

Server_name localhost; #The address of the ftp server

Location /images {

Root /home/ftpuser; ## autoindex on; #Open file directory list
autoindex_exact_size on; #Display file size
autoindex_localtime on; ## } 




4. Use the command ./nginx -s reload application configuration file

5. Use the command ./nginx -s quit to shut down nginx

6. Use the command ./nginx to start nginxHow to set up nginx reverse proxy ftp server

7. Enter the website access in the browser

The above is the detailed content of How to set up nginx reverse proxy ftp server. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:yisu.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template