ftp - How to reroute SFTP traffic via NGINX - Stack Overflow (https://cdn.sstatic.net/Sites/stackoverflow/Img/favicon.ico?v=ec617d715196) (https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon.png?v=c78bd457575a) (https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon.png?v=c78bd457575a) (Stack Overflow) (/opensearch.xml) (https://stackoverflow.com/questions/35472363/how-to-reroute-sftp-traffic-via-nginx) (https://cdn.sstatic.net/Shared/stacks.css?v=d6a266655a25) (https://cdn.sstatic.net/Sites/stackoverflow/primary.css?v=22fb2cb11723) (Feed for question 'How to reroute SFTP traffic via NGINX') (/feeds/question/35472363) (https://cdn.sstatic.net/Shared/Channels/channels.css?v=5981bb1a5bd7) (https://accounts.google.com/gsi/style) (site logo) Join Stack Overflow By clicking “Sign up”, you agree to our (/legal/terms-of-service/public) terms of service and acknowledge you have read our (/legal/privacy-policy) privacy policy . (80823973848d5aac2ae197737f179bc4b30ac67c67491815ce58aee3b012cf60) (1) (2.0) Sign up with Google Sign up with GitHub OR (80823973848d5aac2ae197737f179bc4b30ac67c67491815ce58aee3b012cf60) (1) () () () () () () Email Password (8+ characters (at least 1 letter & 1 number)) Sign up Already have an account? (/users/login) Log in (80823973848d5aac2ae197737f179bc4b30ac67c67491815ce58aee3b012cf60) () Skip to main content (https://stackoverflow.com) Stack Overflow (https://stackoverflow.co/) About Products (https://stackoverflow.co/teams/ai/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav-bar&utm_content=overflowai) OverflowAI (https://stackoverflow.co/teams/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=stack-overflow-for-teams) Stack Overflow for Teams Where developers & technologists share private knowledge with coworkers (https://stackoverflow.co/advertising/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=stack-overflow-advertising) Advertising & Talent Reach devs & technologists worldwide about your product, service or employer brand (https://stackoverflow.co/teams/ai/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=overflow-ai) OverflowAI GenAI features for Teams (https://stackoverflow.co/api-solutions/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=overflow-api) OverflowAPI Train & fine-tune LLMs (https://stackoverflow.co/labs/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=labs) Labs The future of collective knowledge sharing (https://stackoverflow.co/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=about-the-company) About the company (https://stackoverflow.blog/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=blog) Visit the blog (Search…) () Loading… (https://stackoverflow.com) current community (https://stackoverflow.com) (Stack Overflow) Stack Overflow (https://stackoverflow.com/help) help (https://chat.stackoverflow.com/?tab=site&host=stackoverflow.com) chat (https://meta.stackoverflow.com) (Meta Stack Overflow) Meta Stack Overflow your communities (https://stackoverflow.com/users/signup?ssrc=site_switcher&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f35472363%2fhow-to-reroute-sftp-traffic-via-nginx) Sign up or (https://stackoverflow.com/users/login?ssrc=site_switcher&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f35472363%2fhow-to-reroute-sftp-traffic-via-nginx) log in to customize your list. (https://stackexchange.com/sites) more stack exchange communities (https://stackoverflow.blog) company blog (Click to show search) (https://stackoverflow.com/users/login?ssrc=head&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f35472363%2fhow-to-reroute-sftp-traffic-via-nginx) Log in (https://stackoverflow.com/users/signup?ssrc=head&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f35472363%2fhow-to-reroute-sftp-traffic-via-nginx) Sign up Let's set up your homepage Select a few topics you're interested in: python javascript c# reactjs java android html flutter c++ node.js typescript css r php angular next.js spring-boot machine-learning sql excel ios azure docker Or search from our full list: (Search) javascript python java c# php android html jquery c++ css ios sql mysql r reactjs node.js arrays c asp.net json python-3.x .net ruby-on-rails sql-server swift django angular objective-c excel pandas angularjs regex typescript ruby linux ajax iphone vba xml laravel spring asp.net-mvc database wordpress string flutter postgresql mongodb wpf windows amazon-web-services xcode bash git oracle-database spring-boot dataframe azure firebase list docker multithreading vb.net react-native eclipse algorithm powershell macos visual-studio numpy image forms scala function vue.js performance twitter-bootstrap selenium winforms kotlin loops express dart hibernate sqlite matlab python-2.7 shell rest apache entity-framework android-studio csv maven api linq qt dictionary unit-testing asp.net-core facebook tensorflow apache-spark file swing class unity-game-engine sorting date authentication go symfony t-sql opencv matplotlib .htaccess google-chrome for-loop datetime codeigniter http perl validation sockets google-maps object uitableview xaml oop if-statement visual-studio-code cordova ubuntu web-services email android-layout github elasticsearch spring-mvc kubernetes selenium-webdriver ms-access user-interface parsing ggplot2 pointers google-sheets machine-learning c++11 security google-apps-script flask ruby-on-rails-3 templates nginx variables exception sql-server-2008 gradle debugging tkinter listview delphi jpa asynchronous pdf web-scraping haskell jsp ssl amazon-s3 google-cloud-platform jenkins testing xamarin wcf npm batch-file generics ionic-framework network-programming unix recursion google-app-engine mongoose visual-studio-2010 .net-core android-fragments assembly animation next.js math session svg hadoop intellij-idea curl django-models rust join winapi laravel-5 url heroku http-redirect tomcat google-cloud-firestore inheritance webpack keras image-processing gcc asp.net-mvc-4 logging dom swiftui web matrix pyspark actionscript-3 button post optimization firebase-realtime-database jquery-ui iis cocoa xpath d3.js javafx firefox internet-explorer xslt caching select asp.net-mvc-3 opengl events asp.net-web-api plot dplyr magento encryption search stored-procedures amazon-ec2 ruby-on-rails-4 memory audio canvas multidimensional-array jsf random vector cookies redux input facebook-graph-api flash xamarin.forms indexing arraylist ipad cocoa-touch data-structures video apache-kafka model-view-controller serialization jdbc woocommerce azure-devops routes razor awk servlets mod-rewrite beautifulsoup docker-compose excel-formula filter iframe aws-lambda design-patterns text django-rest-framework visual-c++ cakephp mobile android-intent react-hooks struct methods groovy mvvm ssh lambda checkbox google-chrome-extension ecmascript-6 time grails installation sharepoint cmake shiny spring-security jakarta-ee android-recyclerview plsql core-data types meteor android-activity sed bootstrap-4 websocket activerecord graph replace scikit-learn file-upload group-by vim junit boost deep-learning import sass memory-management error-handling async-await eloquent dynamic soap silverlight dependency-injection charts layout apache-spark-sql deployment browser gridview svn while-loop google-bigquery vuejs2 ffmpeg dll highcharts view foreach plugins makefile c#-4.0 redis reporting-services jupyter-notebook merge server unicode https reflection google-maps-api-3 twitter oauth-2.0 extjs pytorch axios terminal pip split cmd mysqli encoding django-views automation database-design collections hash netbeans build data-binding ember.js tcp sqlalchemy pdo apache-flex concurrency entity-framework-core command-line spring-data-jpa printing react-redux java-8 jestjs service html-table lua neo4j ansible material-ui parameters module enums flexbox visual-studio-2012 promise outlook webview firebase-authentication web-applications uwp jquery-mobile utf-8 datatable python-requests parallel-processing drop-down-menu colors scroll hive scipy tfs count syntax ms-word twitter-bootstrap-3 ssis google-analytics fonts powerbi three.js rxjs constructor graphql file-io paypal discord cassandra socket.io graphics compiler-errors gwt react-router nlp solr url-rewriting backbone.js memory-leaks datatables oauth terraform datagridview drupal oracle11g zend-framework neural-network knockout.js triggers django-forms interface angular-material google-api casting jmeter linked-list path proxy timer django-templates arduino orm directory visual-studio-2015 parse-platform windows-phone-7 cron push-notification conditional-statements primefaces functional-programming pagination model jar xamarin.android hyperlink uiview gitlab visual-studio-2013 vbscript google-cloud-functions azure-active-directory jwt download swift3 sql-server-2005 configuration process rspec pygame properties combobox callback windows-phone-8 linux-kernel safari permissions scrapy raspberry-pi scripting emacs clojure x86 scope io compilation expo mongodb-query nhibernate responsive-design angularjs-directive azure-functions request bluetooth dns 3d binding reference architecture discord.js playframework pyqt version-control doctrine-orm package get sql-server-2012 rubygems f# autocomplete openssl datepicker kendo-ui tree jackson pycharm controller yii nested grep xamarin.ios static dockerfile statistics transactions datagrid null active-directory uiviewcontroller webforms phpmyadmin discord.py notifications computer-vision sas duplicates mocking youtube nullpointerexception yaml menu sum bitmap blazor electron asp.net-mvc-5 visual-studio-2008 time-series yii2 jsf-2 css-selectors stl android-listview floating-point cryptography ant stream hashmap character-encoding msbuild sdk asp.net-core-mvc google-drive-api selenium-chromedriver jboss cors joomla navigation devise anaconda background camera multiprocessing pyqt5 binary cuda frontend linq-to-sql iterator mariadb onclick plotly ios7 android-jetpack-compose rabbitmq microsoft-graph-api android-asynctask tabs laravel-4 insert uicollectionview environment-variables amazon-dynamodb linker xsd console coldfusion upload continuous-integration ftp textview opengl-es vuejs3 operating-system mockito macros localization formatting xml-parsing json.net kivy type-conversion data.table timestamp calendar integer segmentation-fault android-ndk drag-and-drop prolog char crash jasmine automated-tests dependencies geometry android-gradle-plugin itext firebase-cloud-messaging header fortran sprite-kit mfc attributes nuxt.js nosql azure-pipelines format nestjs odoo db2 jquery-plugins jenkins-pipeline leaflet event-handling flutter-layout postman julia annotations keyboard textbox arm visual-studio-2017 gulp libgdx stripe-payments xampp synchronization timezone crystal-reports dom-events uikit azure-web-app-service android-emulator swagger wso2 sequelize.js namespaces aggregation-framework uiscrollview jvm google-sheets-formula chart.js com subprocess geolocation centos webdriver snowflake-cloud-data-platform html5-canvas garbage-collection widget dialog numbers concatenation sql-update qml set windows-10 tuples mapreduce smtp java-stream ionic2 rotation modal-dialog spring-data android-edittext http-headers nuget doctrine radio-button sonarqube grid lucene xmlhttprequest internationalization listbox initialization switch-statement components google-play apache-camel boolean serial-port ldap youtube-api ios5 gdb return latex pivot eclipse-plugin frameworks tags containers github-actions dataset asp-classic label subquery foreign-keys c++17 copy uinavigationcontroller delegates google-cloud-storage migration struts2 base64 protractor find sql-server-2008-r2 embedded queue uibutton arguments composer-php append jaxb zip stack cucumber autolayout ide entity-framework-6 popup iteration airflow tailwind-css r-markdown windows-7 ssl-certificate vb6 gmail hover jqgrid g++ udp Next You’ll be prompted to create an account to view your personalized homepage. (/) Home (/questions) Questions (/tags) Tags (/beta/discussions) Discussions Labs (https://chat.stackoverflow.com/?tab=all&sort=active) Chat (/users) Users (/jobs?source=so-left-nav) Jobs (https://stackoverflow.com/jobs/companies?so_medium=stackoverflow&so_source=SiteNav) Companies Collectives Communities for your favorite technologies. (/collectives-all) Explore all Collectives Teams () Ask questions, find answers and collaborate at work with Stack Overflow for Teams. (https://stackoverflowteams.com/teams/create/free/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams) Try Teams for free (https://stackoverflow.co/teams/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams) Explore Teams Teams Ask questions, find answers and collaborate at work with Stack Overflow for Teams. (https://stackoverflow.co/teams/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams-compact) Explore Teams Collectives™ on Stack Overflow Find centralized, trusted content and collaborate around the technologies you use most. (/collectives) Learn more about Collectives Teams Q&A for work Connect and share knowledge within a single location that is structured and easy to search. (https://stackoverflow.co/teams/) Learn more about Teams (Illustration of upvote icon after it is clicked) Hang on, you can't upvote just yet. You'll need to complete a few actions and gain 15 reputation points before being able to upvote. Upvoting indicates when questions and answers are useful. (https://stackoverflow.com/help/whats-reputation) What's reputation and how do I get it? Instead, you can save this post to reference later. Save this post for later Not now (https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon.png?v=c78bd457575a) (/questions/35472363/how-to-reroute-sftp-traffic-via-nginx) How to reroute SFTP traffic via NGINX (/questions/ask) Ask Question (2016-02-18 03:37:53Z) Asked 9 years, 1 month ago Modified (?lastactivity) (2021-10-13 23:07:32Z) 3 years, 6 months ago (Viewed 25,638 times) Viewed 26k times This question shows research effort; it is useful and clear (70:3:31e,16:3d1272724944ee3d,10:1744425657,16:bb484da241a35a64,8:35472363,a551cc19f701983577c403aa680e0e2743ed76cc66a0f3665e6baff196e6926f) 0 (This question does not show any research effort; it is unclear or not useful) (70:3:31e,16:6d6d0688008cad31,10:1744425657,16:e00c65e406357693,8:35472363,a932bc555566770c8ed324f27e70e7d74c97acb62dd8af38c04ce75d74d332f1) Save this question. (/posts/35472363/timeline) Show activity on this post. I'm trying to setup an FTP subdomain, such that all incoming SFTP requests to (say) ftp.myname.com, get routed to a particular internal server, (say) 10.123.456 via port 22. How do I use nginx to route this traffic? I've already setup the SFTP server, and can SFTP directly to the server, say: sftp username@123.456.7890, which works fine. The problem is that when I setup nginx to route all traffic to ftp.myname.com, it connects, but the passwords get rejected. I have no problems routing web traffic to my other subdomains, say dev.myname.com (with passwords), but it doesn't work for the SFTP traffic: server { listen 22; server_name ftp.myname.com; return ............. } How do I define the return sting to route the traffic with the passwords? The connection is SFTP (via port 22). Thanks (/questions/tagged/nginx) (show questions tagged 'nginx') nginx (/questions/tagged/ftp) (show questions tagged 'ftp') ftp (/questions/tagged/sftp) (show questions tagged 'sftp') sftp (/q/35472363) (Short permalink to this question) Share Share a link to this question Copy link (https://creativecommons.org/licenses/by-sa/3.0/) (The current license for this post: CC BY-SA 3.0) CC BY-SA 3.0 (/posts/35472363/edit) () Improve this question Follow (70:3:31e,16:386cc929b19f29ab,10:1744425657,16:2d95f95145d01b30,8:35472363,e00beb5a5c06d04472858902fcf70615d63130c092d92a32eef181a6d5766e8e) Follow this question to receive notifications (/posts/35472363/revisions) (show all edits to this post) edited (2016-02-18 03:56:41Z) Feb 18, 2016 at 3:56 vgoklani asked (2016-02-18 03:37:53Z) Feb 18, 2016 at 3:37 (/users/190894/vgoklani) (vgoklani's user avatar) (/users/190894/vgoklani) vgoklani vgoklani (reputation score 11,806) 11.8k (19 gold badges) 19 19 gold badges (69 silver badges) 69 69 silver badges (107 bronze badges) 107 107 bronze badges 1 (number of 'useful comment' votes received) 1 just a note: sftp uses ssh-server to connect to. If you define nginx to listen to port 22, it expects a http / https connection to this port. In my personal opinion you cannot forward a sftp request send to nginx to ssh-server. check what ports your services listen to, so ssh-server (for sftp connections) might already listen on port22 to accept connections. you might restrict connections to port 22 via ufw. To get a special subdomain to listen only to port 22, someone else might help out. – (/users/3699457/semm0) (947 reputation) semm0 Commented (2016-02-18 08:41:16Z, License: CC BY-SA 3.0) Feb 18, 2016 at 8:41 (Use comments to ask for more information or suggest improvements. Avoid answering questions in comments.) Add a comment | (Expand to show all comments on this post) 2 Answers 2 Sorted by: (/questions/35472363/how-to-reroute-sftp-traffic-via-nginx?answertab=scoredesc#tab-top) Reset to default (scoredesc) Highest score (default) (trending) Trending (recent votes count more) (modifieddesc) Date modified (newest first) (createdasc) Date created (oldest first) This answer is useful (70:3:31e,16:9c0db051b6182952,10:1744425657,16:718789333f2e055a,8:50983056,8aaec8f6a0eb52f3740b87ef98a38f54354ab4233643b94e4f3203cad01678d2) 1 (This answer is not useful) (70:3:31e,16:65b66fe5dc58917d,10:1744425657,16:4c65f8374ab54ede,8:50983056,9be3a4104bb20c8d0af99d8d93fb4a2f80ea17e9c0db96c9c1ae4eaf1009a8a1) Save this answer. (Loading when this answer was accepted…) (/posts/50983056/timeline) Show activity on this post. Aswering to @peixotorms: yes, you can. nginx can proxy/load balance http as well as tcp and udp traffic, see nginx stream modules documentation (at the (http://nginx.org/en/docs/) nginx main documentation page ) , and specifically the (http://nginx.org/en/docs/stream/ngx_stream_core_module.html) stream core module's documentation . (/a/50983056) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/4.0/) (The current license for this post: CC BY-SA 4.0) CC BY-SA 4.0 (/posts/50983056/edit) () Improve this answer Follow (70:3:31e,16:12a6ec3d0accb7ad,10:1744425657,16:14cda87bfe428131,8:50983056,e83431ba96f055778bcae13237566883df92082e0dc7d8f677297772bced1d5e) Follow this answer to receive notifications (/posts/50983056/revisions) (show all edits to this post) edited (2021-10-13 23:07:32Z) Oct 13, 2021 at 23:07 (/users/477494/uncle-iroh) (Uncle Iroh's user avatar) (/users/477494/uncle-iroh) Uncle Iroh (reputation score) 6,085 (6 gold badges) 6 6 gold badges (54 silver badges) 54 54 silver badges (64 bronze badges) 64 64 bronze badges answered (2018-06-22 07:42:20Z) Jun 22, 2018 at 7:42 (/users/9977019/maxim-konovalov) (Maxim Konovalov's user avatar) (/users/9977019/maxim-konovalov) Maxim Konovalov Maxim Konovalov (reputation score) 11 (1 bronze badge) 1 1 bronze badge 1 (number of 'useful comment' votes received) 3 (This post does not seem to provide a (https://stackoverflow.com/help/how-to-answer) quality answer to the question. Please either edit your answer, or just post it as a comment to the question). – (/users/823321/s%c9%90un%c4%b1%c9%94%d7%9f%c9%90q%c9%90p) (3,552 reputation) sɐunıɔןɐqɐp Commented (2018-06-22 07:59:24Z, License: CC BY-SA 4.0) Jun 22, 2018 at 7:59 (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (70:3:31e,16:3bb35e272de0a570,10:1744425657,16:f00ada8e83adacda,8:35485318,26a2abec47ae2e86a86304a1ccde123a6f0dc7c97bd6441864d75f13d51eb37c) -1 (This answer is not useful) (70:3:31e,16:974a8682b7801c21,10:1744425657,16:81f260f450f35a4d,8:35485318,bcfc5b06d6a2cfa70af2fbab8b0196ca531331afc3e4190dd53265db578102b6) Save this answer. (Loading when this answer was accepted…) (/posts/35485318/timeline) Show activity on this post. You cannot do this on nginx (http only), you must use something like HaProxy and a simple dns record for your subdomain pointing to the server ip. Some info: (http://jpmorris-iso.blogspot.pt/2013/01/load-balancing-openssh-sftp-with-haproxy.html) http://jpmorris-iso.blogspot.pt/2013/01/load-balancing-openssh-sftp-with-haproxy.html Edit: Since nginx version 1.15.2 it's now possible to do that using the variable $ssl_preread_protocol. The official blog added post about how to use this variable for multiplexing HTTPS and SSH on the same port. (https://www.nginx.com/blog/running-non-ssl-protocols-over-ssl-port-nginx-1-15-2/) https://www.nginx.com/blog/running-non-ssl-protocols-over-ssl-port-nginx-1-15-2/ Example of configuring SSH on an upstream block: stream { upstream ssh { server 192.0.2.1:22; } upstream sslweb { server 192.0.2.2:443; } map $ssl_preread_protocol $upstream { default ssh; "TLSv1.2" sslweb; } # SSH and SSL on the same port server { listen 443; proxy_pass $upstream; ssl_preread on; } } (/a/35485318) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/4.0/) (The current license for this post: CC BY-SA 4.0) CC BY-SA 4.0 (/posts/35485318/edit) () Improve this answer Follow (70:3:31e,16:1ae23dc4f2b5784e,10:1744425657,16:0c90d88f2a5539d9,8:35485318,637d6c74543f2a33c957b9a737290308e887979f13c71eb3eb08c6f13c0627cb) Follow this answer to receive notifications (/posts/35485318/revisions) (show all edits to this post) edited (2020-04-30 09:57:52Z) Apr 30, 2020 at 9:57 answered (2016-02-18 15:16:24Z) Feb 18, 2016 at 15:16 (/users/4232534/peixotorms) (peixotorms's user avatar) (/users/4232534/peixotorms) peixotorms peixotorms (reputation score) 1,283 (1 gold badge) 1 1 gold badge (11 silver badges) 11 11 silver badges (21 bronze badges) 21 21 bronze badges 1 (number of 'useful comment' votes received) 1 is there a way to have a combination SSH, HTTPS and HTTP ? can i achieve with ssl_preread all three? – (/users/993463/lonko) (379 reputation) Lonko Commented (2021-09-19 11:27:50Z, License: CC BY-SA 4.0) Sep 19, 2021 at 11:27 (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) (35472363) (false) () (0) Your Answer (True) Thanks for contributing an answer to Stack Overflow! Please be sure to answer the question . Provide details and share your research! But avoid … Asking for help, clarification, or responding to other answers. Making statements based on opinion; back them up with references or personal experience. To learn more, see our (/help/how-to-answer) tips on writing great answers . Draft saved Draft discarded (80823973848d5aac2ae197737f179bc4b30ac67c67491815ce58aee3b012cf60) Sign up or (/users/login?ssrc=question_page&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f35472363%2fhow-to-reroute-sftp-traffic-via-nginx%23new-answer) log in Sign up using Google Sign up using Email and Password (false) (false) Submit Post as a guest Name () () Email Required, but never shown () () Post as a guest Name () () Email Required, but never shown () () Post Your Answer Discard By clicking “Post Your Answer”, you agree to our (https://stackoverflow.com/legal/terms-of-service/public) terms of service and acknowledge you have read our (https://stackoverflow.com/legal/privacy-policy) privacy policy .(1) Start asking to get answers Find the answer to your question by asking. (/questions/ask) Ask question Explore related questions (/questions/tagged/nginx) (show questions tagged 'nginx') nginx (/questions/tagged/ftp) (show questions tagged 'ftp') ftp (/questions/tagged/sftp) (show questions tagged 'sftp') sftp See similar questions with these tags. The Overflow Blog (https://stackoverflow.blog/2025/04/08/bottom-of-the-first-a-veteran-vc-s-take-on-the-ai-landscape/?cb=1) Bottom of the first: A veteran VC’s take on the AI landscape (https://stackoverflow.blog/2025/04/11/how-do-you-fact-check-an-ai/?cb=1) How do you fact-check an AI? Featured on Meta (Meta Stack Exchange) (https://meta.stackexchange.com/questions/407927/changes-to-reporting-for-the-status-review-escalation-process?cb=1) Changes to reporting for the [status-review] escalation process (Meta Stack Overflow) (https://meta.stackoverflow.com/questions/421831/policy-generative-ai-e-g-chatgpt-is-banned?cb=1) Policy: Generative AI (e.g., ChatGPT) is banned (Meta Stack Overflow) (https://meta.stackoverflow.com/questions/433466/a-discussion-about-closed-and-potentially-useful-posts-on-stack-overflow?cb=1) A discussion about closed (and potentially useful) posts on Stack Overflow Related (https://stackoverflow.com/q/24319662?rq=1) (Question score (upvotes - downvotes)) 3529 (https://stackoverflow.com/questions/24319662/from-inside-of-a-docker-container-how-do-i-connect-to-the-localhost-of-the-mach?rq=1) From inside of a Docker container, how do I connect to the localhost of the machine? (https://stackoverflow.com/q/5009324?rq=1) (Question score (upvotes - downvotes)) 1138 (https://stackoverflow.com/questions/5009324/node-js-nginx-what-now?rq=1) Node.js + Nginx - What now? (https://stackoverflow.com/q/10631933?rq=1) (Question score (upvotes - downvotes)) 668 (https://stackoverflow.com/questions/10631933/nginx-static-file-serving-confusion-with-root-alias?rq=1) Nginx -- static file serving confusion with root & alias (https://stackoverflow.com/q/16886179?rq=1) (Question score (upvotes - downvotes)) 528 (https://stackoverflow.com/questions/16886179/scp-or-sftp-copy-multiple-files-with-single-command?rq=1) scp or sftp copy multiple files with single command (https://stackoverflow.com/q/14617?rq=1) (Question score (upvotes - downvotes)) 244 (https://stackoverflow.com/questions/14617/how-to-retrieve-a-file-from-a-server-via-sftp?rq=1) How to retrieve a file from a server via SFTP? (https://stackoverflow.com/q/26070088?rq=1) (Question score (upvotes - downvotes)) 16 (https://stackoverflow.com/questions/26070088/elastic-beanstalk-weird-nginx-configuration?rq=1) elastic beanstalk weird nginx configuration (https://stackoverflow.com/q/73462828?rq=1) (Question score (upvotes - downvotes)) 0 (https://stackoverflow.com/questions/73462828/nginx-reverse-proxy-sends-all-traffic-to-first-defined-server?rq=1) nginx reverse proxy sends all traffic to first defined server (https://stackoverflow.com/q/74353890?rq=1) (Question score (upvotes - downvotes)) 0 (https://stackoverflow.com/questions/74353890/redirecting-one-subdomain-in-nginx?rq=1) Redirecting one subdomain in Nginx (https://stackoverflow.com/q/43953924?rq=1) (Question score (upvotes - downvotes)) 3 (https://stackoverflow.com/questions/43953924/how-do-i-use-sftp-on-git-ftp-client?rq=1) How do I use sftp on git-ftp client? (https://stackexchange.com/questions?tab=hot) Hot Network Questions (English Language & Usage Stack Exchange) (https://english.stackexchange.com/questions/630780/is-there-a-common-description-of-the-way-trump-pronounces-things-he-doesnt-like) Is there a common description of the way Trump pronounces things he doesn't like? (Philosophy Stack Exchange) (https://philosophy.stackexchange.com/questions/124142/is-occurence-of-event-absolute-or-relative) Is occurence of event absolute or relative? (Unix & Linux Stack Exchange) (https://unix.stackexchange.com/questions/793625/how-to-get-the-actually-used-size-of-a-sparse-file) How to get the actually used size of a sparse file? (Politics Stack Exchange) (https://politics.stackexchange.com/questions/91365/why-are-arab-leaders-practically-silent-or-inactive-when-it-comes-to-saving-pale) Why are Arab leaders practically silent or inactive when it comes to saving Palestinians from Israeli bombing? (Science Fiction & Fantasy Stack Exchange) (https://scifi.stackexchange.com/questions/295957/story-about-boy-who-discovers-he-is-the-last-human) Story about boy who discovers he is the last human (Politics Stack Exchange) (https://politics.stackexchange.com/questions/91361/what-are-the-united-kingdoms-constitutional-means-of-removing-a-sitting-prime-m) What are the United Kingdom's constitutional means of removing a sitting Prime Minister? (History Stack Exchange) (https://history.stackexchange.com/questions/77666/how-did-ussrs-gosplan-enforce-fixed-prices) How did USSR's Gosplan enforce fixed prices? (Japanese Language Stack Exchange) (https://japanese.stackexchange.com/questions/107456/what-is-the-significance-of-the-sentence-%e6%97%a5%e6%9c%ac%e3%81%ab%e3%81%af%e5%9b%9b%e5%ad%a3%e3%81%8c%e3%81%82%e3%82%8b-japan-has-four-seasons) What is the significance of the sentence 「日本には四季がある」 ("Japan has four seasons")? (The Great Outdoors Stack Exchange) (https://outdoors.stackexchange.com/questions/30149/make-winter-tent-wood-stove-fire-last-all-night) Make winter tent wood stove fire last all night? (MathOverflow) (https://mathoverflow.net/questions/490868/how-does-the-mathematical-community-handle-minor-non-critical-errors-in-publish) How does the mathematical community handle minor, non-critical errors in published papers? (Astronomy Stack Exchange) (https://astronomy.stackexchange.com/questions/60014/how-do-astronomers-know-that-two-objects-appearing-near-one-another-are-in-fact) How do astronomers know that two objects appearing near one another are in fact close? (Philosophy Stack Exchange) (https://philosophy.stackexchange.com/questions/124139/rhetorical-argument-commonly-used-in-our-everyday-lives-as-a-way-of-persuasion) Rhetorical argument commonly used in our everyday lives as a way of persuasion - is it valid? (Home Improvement Stack Exchange) (https://diy.stackexchange.com/questions/316836/im-trying-to-waterproof-a-wood-post-for-my-mailbox-and-i-want-to-make-sure-im) I'm trying to waterproof a wood post for my mailbox, and I want to make sure I'm not setting myself up for failure (Mathematics Stack Exchange) (https://math.stackexchange.com/questions/5054973/why-doesnt-cantors-diagonal-argument-prove-only-that-the-reals-are-not-recursi) Why doesn't Cantor's diagonal argument prove only that the reals are not recursively enumerable? (Skeptics Stack Exchange) (https://skeptics.stackexchange.com/questions/57822/is-john-brandenburg-affiliated-with-harvard-university) Is John Brandenburg affiliated with Harvard University? (Arqade) (https://gaming.stackexchange.com/questions/411830/whats-behind-the-number-of-z-genocidest-2-episode-2-achievement) What's behind the number of "Z-GENOCIDEST 2: EPISODE 2" achievement? (Academia Stack Exchange) (https://academia.stackexchange.com/questions/217866/should-i-use-page-numbers-when-citing-information-from-physics-papers) Should I use page numbers when citing information from physics papers? (Physics Stack Exchange) (https://physics.stackexchange.com/questions/847491/what-causes-a-spin-flip-transition-from-a-ground-state-to-an-excited-state) What causes a spin flip transition from a ground state to an excited state? (Home Improvement Stack Exchange) (https://diy.stackexchange.com/questions/316828/can-i-place-new-subfloor-osb-on-top-of-old-vinyl-plank-flooring-and-tile-for-p) Can I place new subfloor (OSB) on top of old vinyl plank flooring and tile for planned faux vinyl tile in mud room? (Academia Stack Exchange) (https://academia.stackexchange.com/questions/217850/is-there-demand-for-freelance-librarian-support-for-systematic-reviews) Is there demand for freelance librarian support for systematic reviews? (Travel Stack Exchange) (https://travel.stackexchange.com/questions/194781/are-star-alliance-awards-available-for-any-destination-in-the-star-alliance-netw) Are Star Alliance awards available for any destination in the Star Alliance network? (Academia Stack Exchange) (https://academia.stackexchange.com/questions/217872/should-i-switch-my-research-topic-in-my-third-phd-year) Should I switch my research topic in my third PhD year? (Mathematica Stack Exchange) (https://mathematica.stackexchange.com/questions/312090/merging-sublists-together-based-upon-element-criteria) Merging sublists together based upon element criteria (Philosophy Stack Exchange) (https://philosophy.stackexchange.com/questions/124080/is-it-possible-to-define-left-and-right-spatial-direction-without-referrin) Is it possible to define ‘left’ and ‘right’ (spatial direction) without referring to human beings or animals? (/feeds/question/35472363) (Feed of this question and its answers) Question feed Subscribe to RSS Question feed To subscribe to this RSS feed, copy and paste this URL into your RSS reader. (https://stackoverflow.com/feeds/question/35472363) () (https://stackoverflow.com) (https://stackoverflow.com) Stack Overflow (/questions) Questions (/help) Help (https://chat.stackoverflow.com/?tab=site&host=stackoverflow.com) Chat (https://stackoverflow.co/) Products (https://stackoverflow.co/teams/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=teams) Teams (https://stackoverflow.co/advertising/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=advertising) Advertising (https://stackoverflow.co/advertising/employer-branding/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=talent) Talent (https://stackoverflow.co/) Company (https://stackoverflow.co/) About (https://stackoverflow.co/company/press/) Press (https://stackoverflow.co/company/work-here/) Work Here (https://stackoverflow.com/legal) Legal (https://stackoverflow.com/legal/privacy-policy) Privacy Policy (https://stackoverflow.com/legal/terms-of-service/public) Terms of Service (/contact) Contact Us Your Privacy Choices (https://stackoverflow.com/legal/cookie-policy) Cookie Policy (https://stackexchange.com) Stack Exchange Network (https://stackexchange.com/sites#technology) Technology (https://stackexchange.com/sites#culturerecreation) Culture & recreation (https://stackexchange.com/sites#lifearts) Life & arts (https://stackexchange.com/sites#science) Science (https://stackexchange.com/sites#professional) Professional (https://stackexchange.com/sites#business) Business (https://api.stackexchange.com/) API (https://data.stackexchange.com/) Data (https://stackoverflow.blog?blb=1) Blog (https://www.facebook.com/officialstackoverflow/) Facebook (https://twitter.com/stackoverflow) Twitter (https://linkedin.com/company/stack-overflow) LinkedIn (https://www.instagram.com/thestackoverflow) Instagram Site design / logo © 2025 Stack Exchange Inc; user contributions licensed under (https://stackoverflow.com/help/licensing) CC BY-SA . rev 2025.4.9.24965